Tween: fix non-repeat interpolate_callback does not delete after call triggered

This commit is contained in:
sanikoyes 2016-08-31 10:27:20 +08:00
parent 2f0e2a78b5
commit cccea7e0b4

View file

@ -619,6 +619,8 @@ void Tween::_tween_process(float p_delta) {
};
object->call(data.key, (const Variant **) arg, data.args, error);
}
if (!repeat)
call_deferred("remove", object, data.key);
}
continue;
}