From 26441b49e568157d2de2ffbd9eafedbd8409fcbc Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 26 May 2018 17:07:40 -0400 Subject: [PATCH] Fix quit not quitting on arguments --- scripts/menu.gd | 2 +- scripts/networking.gd | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/menu.gd b/scripts/menu.gd index b5d41e3..3ec2398 100644 --- a/scripts/menu.gd +++ b/scripts/menu.gd @@ -52,5 +52,5 @@ func _arg_actions(): _singleplayer() if o.get_value('-h'): o.print_help() - quit() + get_tree().quit() diff --git a/scripts/networking.gd b/scripts/networking.gd index f3be907..bf04e2c 100644 --- a/scripts/networking.gd +++ b/scripts/networking.gd @@ -172,7 +172,6 @@ sync func _pre_configure_game(level): # This causes a stack overflow if we call it from here repeatedly # So we only change it once, only start_game twice, and avoida segfault if not self_begun: - print("setting my begun to true") set_info("begun", true) rpc_id(1, "_done_preconfiguring", self_peer_id)