Merge pull request #21913 from DualMatrix/tween_remove_all

Fixed calling start() after remove_all() on tween not working
This commit is contained in:
Rémi Verschelde 2018-09-12 11:01:19 +02:00 committed by GitHub
commit 74d80146ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -674,6 +674,10 @@ float Tween::get_speed_scale() const {
}
bool Tween::start() {
if (pending_update != 0) {
call_deferred("start");
return true;
}
set_active(true);
return true;