diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-06-24 20:40:23 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-06-24 20:40:23 +0200 | 
| commit | c6aff9bdd25355dd3c9b68ccc13f0cc82c2978a1 (patch) | |
| tree | 70876d174347e57ece2f9143af00ecd0ef486204 /client/game.gd | |
| parent | f59a19f24371e0f33a82ca8c290c0dd1d24e0607 (diff) | |
| download | hurrycurry-c6aff9bdd25355dd3c9b68ccc13f0cc82c2978a1.tar hurrycurry-c6aff9bdd25355dd3c9b68ccc13f0cc82c2978a1.tar.bz2 hurrycurry-c6aff9bdd25355dd3c9b68ccc13f0cc82c2978a1.tar.zst | |
instant scene change on error to avoid subsequent errors
Diffstat (limited to 'client/game.gd')
| -rw-r--r-- | client/game.gd | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/client/game.gd b/client/game.gd index ad9467ca..70a3a371 100644 --- a/client/game.gd +++ b/client/game.gd @@ -27,7 +27,7 @@ var players := {}  func _ready():  	mp.connect("connection_closed", func(reason: String):  		Global.error_message = reason; -		$SceneTransition.transition_to("res://menu/error_menu.tscn") +		$SceneTransition.instant_to("res://menu/error_menu.tscn")  	)  	await mp.init | 
