summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Script.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Script.c')
-rw-r--r--TemplePushing.c4s/Script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c
index da1b3e8..c619b14 100644
--- a/TemplePushing.c4s/Script.c
+++ b/TemplePushing.c4s/Script.c
@@ -421,8 +421,8 @@ func OnClonkDeath(object clonk, int killedBy)
// Do nothing if Clonk does not belong to a player
if (GetPlayerID(player) == 0) return;
- // Handle kill and return if player got eliminated
- if (gameStarted && HandleKill(player, killedBy)) return;
+ // Handle kill. Do not relaunch if player got eliminated
+ if (gameStarted && !gameOver && HandleKill(player, killedBy)) return;
// Relaunch
if (GetPlayerID(player)) LaunchClonk(player, clonk, true);