mirror of https://github.com/godotengine/godot
Fix tween.isValid return true after kill
This commit is contained in:
parent
394508d26d
commit
0c7b4fd057
|
|
@ -212,6 +212,7 @@ void Tween::play() {
|
||||||
|
|
||||||
void Tween::kill() {
|
void Tween::kill() {
|
||||||
running = false; // For the sake of is_running().
|
running = false; // For the sake of is_running().
|
||||||
|
valid = false;
|
||||||
dead = true;
|
dead = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue