Fixed numerous potential bugs by moving RoundEndOnClientDeath down to the end of player_death. Checking before caused problems because that function leads to the "humanizing" of all zombies if the last zombie was killed. Stuff like kill_bonus wasn't working right because of this.

Fixed documentation bug, mis-documented kill_bonus.
This commit is contained in:
Greyscale
2009-08-03 15:13:36 -07:00
parent ded36a6c5d
commit f9c953d58f
3 changed files with 4 additions and 4 deletions

View File

@ -272,7 +272,6 @@ public Action:EventPlayerDeath(Handle:event, const String:name[], bool:dontBroad
// Forward event to modules.
ClassOnClientDeath(index);
RoundEndOnClientDeath();
InfectOnClientDeath(index, attacker);
VEffectsOnClientDeath(index);
SEffectsOnClientDeath(index);
@ -283,6 +282,7 @@ public Action:EventPlayerDeath(Handle:event, const String:name[], bool:dontBroad
ZTeleOnClientDeath(index);
ZHPOnClientDeath(index);
VolOnPlayerDeath(index);
RoundEndOnClientDeath();
}
/**