Browse Source

Fix quit not quitting on arguments

master
Luna 7 years ago
parent
commit
26441b49e5
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      scripts/menu.gd
  2. +0
    -1
      scripts/networking.gd

+ 1
- 1
scripts/menu.gd View File

@ -52,5 +52,5 @@ func _arg_actions():
_singleplayer()
if o.get_value('-h'):
o.print_help()
quit()
get_tree().quit()

+ 0
- 1
scripts/networking.gd View File

@ -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)


Loading…
Cancel
Save