diff options
Diffstat (limited to 'client/game.gd')
-rw-r--r-- | client/game.gd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/game.gd b/client/game.gd index a8f905fb..0d32cd45 100644 --- a/client/game.gd +++ b/client/game.gd @@ -79,8 +79,7 @@ var spectating_mode: SpectatingMode = SpectatingMode.CENTER func _ready(): mp.packet.connect(handle_packet) mp.connection_closed.connect(func(reason: String): - Global.error_message = reason; - get_parent().replace_menu("res://gui/menus/error.tscn") + get_parent().replace_menu("res://gui/menus/error.tscn", [reason, menu.data]) ) mp.connect_to_url(menu.data) |