Merge pull request #103198 from Naputt1/fix-tween.kill()-isValid()-return-false
Fix `Tween.is_valid()` returning `true` after calling `kill()`
This commit is contained in:
commit
819bb61710
1 changed files with 1 additions and 0 deletions
|
|
@ -212,6 +212,7 @@ void Tween::play() {
|
|||
|
||||
void Tween::kill() {
|
||||
running = false; // For the sake of is_running().
|
||||
valid = false;
|
||||
dead = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue