Fixed weapons bug for what.. the 4th time? Finally figured out the cause, reproduced, made fix, no more bug.

Zombies no longer pick up weapons after the round.
Fixed bug where disabling restrict/weapons module allowed zombies to get weapons.
This commit is contained in:
Greyscale
2009-06-26 18:33:09 -07:00
parent 194eb9f2b8
commit 85c3400a62
4 changed files with 88 additions and 13 deletions

View File

@ -138,6 +138,7 @@ public Action:EventRoundEnd(Handle:event, const String:name[], bool:dontBroadcas
new reason = GetEventInt(event, "reason");
// Forward event to modules.
WeaponsOnRoundEnd();
RoundEndOnRoundEnd(reason);
InfectOnRoundEnd();
SEffectsOnRoundEnd();