feature/monitor_debug #44

Merged
cromer merged 9 commits from feature/monitor_debug into develop 2022-09-01 13:03:33 -04:00
Showing only changes of commit d560d13627 - Show all commits

View File

@ -91,7 +91,6 @@ void alai::Main::_on_monitor_loaded()
load_level(); load_level();
auto event = get_node<alai::Event>("/root/Event"); auto event = get_node<alai::Event>("/root/Event");
event->emit_signal("level_loaded"); event->emit_signal("level_loaded");
get_tree()->set_pause(true);
} }
void alai::Main::load_monitor() void alai::Main::load_monitor()
@ -100,6 +99,7 @@ void alai::Main::load_monitor()
event->connect("monitor_loaded", this, "_on_monitor_loaded"); event->connect("monitor_loaded", this, "_on_monitor_loaded");
godot::Ref<godot::PackedScene> monitor_scene = _resource_loader->load("res://monitor/Monitor.tscn"); godot::Ref<godot::PackedScene> monitor_scene = _resource_loader->load("res://monitor/Monitor.tscn");
add_child(monitor_scene->instance()); add_child(monitor_scene->instance());
get_tree()->set_pause(true);
} }
void alai::Main::load_level() void alai::Main::load_level()