diff options
author | Raul Santos <raulsntos@gmail.com> | 2023-06-18 20:44:22 +0200 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2023-06-18 20:45:58 +0200 |
commit | 5373b67e2aa1bb21555b320e255d97e733e4e3f3 (patch) | |
tree | 45d6ae3f651cc500e9ae6de3bc0b238337e0043b /modules/gdscript/gdscript_editor.cpp | |
parent | 4a0bb80b18cb8aac107fa71c382e7077b858c744 (diff) | |
download | redot-engine-5373b67e2aa1bb21555b320e255d97e733e4e3f3.tar.gz |
Respect returned bool from virtual process methods in SceneTree
SceneTree overrides the virtual `process` and `physics_process` methods
that it inherits from MainLoop. These methods return a boolean that
determines if the main loop should end.
The SceneTree was ignoring the returned boolean, so scripts inheriting
from SceneTree that override these methods and return true didn't exit
the main loop. Now the boolean is checked.
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
0 files changed, 0 insertions, 0 deletions