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:
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user