You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Improve and clarify paused Tweens
(cherry picked from commit dbecf8bd1a)
This commit is contained in:
@@ -284,10 +284,6 @@ bool Tween::step(double p_delta) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!running) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (is_bound) {
|
||||
Node *node = get_bound_node();
|
||||
if (node) {
|
||||
@@ -299,6 +295,10 @@ bool Tween::step(double p_delta) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!running) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!started) {
|
||||
if (tweeners.is_empty()) {
|
||||
String tween_id;
|
||||
|
||||
Reference in New Issue
Block a user