pause game when starting

This commit is contained in:
Chris Cromer 2022-07-08 00:58:12 -04:00
parent 9b867c6652
commit 5bbf8c34ed
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -37,6 +37,7 @@ void Main::_init()
void Main::_ready() void Main::_ready()
{ {
get_tree()->set_pause(true);
if (get_full_screen()) if (get_full_screen())
{ {
_os->set_window_fullscreen(true); _os->set_window_fullscreen(true);