From 79b7258f3a4cf71f415ffa2fb15e0ddfa330110c Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Thu, 28 Mar 2019 16:27:59 -0400 Subject: [PATCH] Mapchange bug --- Classic/scripts/DMGame.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Classic/scripts/DMGame.cs b/Classic/scripts/DMGame.cs index 9b705f9..1cfed04 100644 --- a/Classic/scripts/DMGame.cs +++ b/Classic/scripts/DMGame.cs @@ -231,8 +231,8 @@ function DMGame::resetScore(%game, %client) %client.Bonus = 0; %client.KillStreakBonus = 0; - %client.killCounter = 0;// not a score thing but needs to be reset - %game.lastGuy = 0; + // not a score thing but needs to be reset + %client.killCounter = 0; } function DMGame::forceObserver( %game, %client, %reason ) @@ -251,10 +251,10 @@ function DMGame::onClientKilled(%game, %clVictim, %clKiller, %damageType, %imple } function ProcessBonusDM(%game, %clVictim, %clKiller, %damageType, %implement, %damageLoc) -{ +{ if(%clVictim.isMarked && $DMGame::mode) { - if(%clKiller $= "") + if(%clKiller $= "" || %clVictim.killCounter < 3) return; if(%clVictim == %clKiller || %clVictim.lastDeathSuicide)