Fixed death spree always being reset

This commit is contained in:
Timo Smit 2017-03-13 10:22:24 +01:00
parent 8e181447b2
commit 0c0392b3c5

View file

@ -292,12 +292,12 @@ function sprees.onPlayerSpreeEnd(clientId, causeId, type)
et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat -1 \""..msg.."\";")
end
end
playerSprees[clientId][i] = 0
end
end
end
end
function sprees.onPlayerDeath(victimId, killerId, mod)
if killerId == 1022 then -- killed by map