StatsX: Add is_user_alive check to eventSpawn

This commit is contained in:
Valentin Grünbacher 2014-05-02 16:59:36 +02:00
parent 2fb232ee68
commit 25f507c5e3

View File

@ -1378,6 +1378,9 @@ public eventStartRound()
// Reset killer info on round restart. // Reset killer info on round restart.
public eventSpawn(id) public eventSpawn(id)
{ {
if (!is_user_alive(id))
return HAM_IGNORED
new args[1] new args[1]
args[0] = id args[0] = id