StatsX: Add is_user_alive check to eventSpawn

This commit is contained in:
Valentin Grünbacher
2014-05-04 17:04:01 +02:00
parent 2fb232ee68
commit 25f507c5e3
+3
View File
@@ -1378,6 +1378,9 @@ public eventStartRound()
// Reset killer info on round restart.
public eventSpawn(id)
{
if (!is_user_alive(id))
return HAM_IGNORED
new args[1]
args[0] = id