From 5bbf8c34edd8bc924d637a0845bd1ca29c38ea50 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Fri, 8 Jul 2022 00:58:12 -0400 Subject: [PATCH] pause game when starting --- src/Main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main.cpp b/src/Main.cpp index 59f5378..d5ff187 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -37,6 +37,7 @@ void Main::_init() void Main::_ready() { + get_tree()->set_pause(true); if (get_full_screen()) { _os->set_window_fullscreen(true);