Mapchange bug

This commit is contained in:
ChocoTaco 2019-03-28 16:27:59 -04:00
parent 49462d8e50
commit 79b7258f3a

View file

@ -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 )
@ -254,7 +254,7 @@ function ProcessBonusDM(%game, %clVictim, %clKiller, %damageType, %implement, %d
{
if(%clVictim.isMarked && $DMGame::mode)
{
if(%clKiller $= "")
if(%clKiller $= "" || %clVictim.killCounter < 3)
return;
if(%clVictim == %clKiller || %clVictim.lastDeathSuicide)