This commit is contained in:
Spartan322
2025-07-19 14:15:00 -04:00
909 changed files with 11718 additions and 4256 deletions

View File

@@ -599,7 +599,6 @@ void PropertyTweener::start() {
Object *target_instance = ObjectDB::get_instance(target);
if (!target_instance) {
WARN_PRINT("Target object freed before starting, aborting Tweener.");
return;
}
@@ -877,7 +876,14 @@ void SubtweenTweener::start() {
// Reset the subtween.
subtween->stop();
subtween->play();
// It's possible that a subtween could be killed before it is started;
// if so, we just want to skip it entirely.
if (subtween->is_valid()) {
subtween->play();
} else {
_finish();
}
}
bool SubtweenTweener::step(double &r_delta) {