mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-11 06:12:38 +02:00
Fix SceneTree not respecting virtual process methods
Co-authored-by: Raul Santos <raulsntos@gmail.com>
This commit is contained in:
parent
8f7ea2132b
commit
9f75f7dfc0
@ -633,7 +633,9 @@ bool SceneTree::iteration(float p_time) {
|
|||||||
|
|
||||||
flush_transform_notifications();
|
flush_transform_notifications();
|
||||||
|
|
||||||
MainLoop::iteration(p_time);
|
if (MainLoop::iteration(p_time)) {
|
||||||
|
_quit = true;
|
||||||
|
}
|
||||||
physics_process_time = p_time;
|
physics_process_time = p_time;
|
||||||
|
|
||||||
emit_signal("physics_frame");
|
emit_signal("physics_frame");
|
||||||
@ -681,7 +683,9 @@ bool SceneTree::idle(float p_time) {
|
|||||||
|
|
||||||
root_lock++;
|
root_lock++;
|
||||||
|
|
||||||
MainLoop::idle(p_time);
|
if (MainLoop::idle(p_time)) {
|
||||||
|
_quit = true;
|
||||||
|
}
|
||||||
|
|
||||||
idle_process_time = p_time;
|
idle_process_time = p_time;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user