From 6c52aafff5b541357f9c9e16ecc8bf97497975c2 Mon Sep 17 00:00:00 2001 From: unfa Date: Sat, 25 Sep 2021 19:04:03 +0200 Subject: [PATCH] Implemented "Embarassing Defeat" when the game is over and you have 0 kills --- Game/Main.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Game/Main.gd b/Game/Main.gd index c8db5fd..7859287 100644 --- a/Game/Main.gd +++ b/Game/Main.gd @@ -181,6 +181,8 @@ func _input(_event) -> void: if winner == local_player.get_multiplayer_authority(): $Announcer.speak($Announcer.victory) + elif player_list.get(local_player.get_multiplayer_authority()).score == 0: + $Announcer.speak($Announcer.defeat2) # embarrasing defeat else: $Announcer.speak($Announcer.defeat)