Fixed calling start() emmediately after remove_all() on tween not wroking

Fixed calling start() emmediately after remove_all() on tween not wroking

Fixes #19901
This commit is contained in:
DualMatrix 2018-09-09 23:23:15 +02:00
parent 4b6846a59d
commit 359198f137

View file

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