pause game when starting
This commit is contained in:
parent
9b867c6652
commit
5bbf8c34ed
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user