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:
Thaddeus Crews 2025-04-10 10:18:21 -05:00
commit 819bb61710
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -212,6 +212,7 @@ void Tween::play() {
void Tween::kill() {
running = false; // For the sake of is_running().
valid = false;
dead = true;
}