Fixed zombie scream command timers not properly destroyed on map change.

This commit is contained in:
Richard Helgeby 2012-10-09 16:21:40 +02:00
parent c2da0b54ec
commit 23bc0b5dcf
2 changed files with 6 additions and 0 deletions

View File

@ -195,6 +195,7 @@ public OnMapEnd()
InfectOnMapEnd(); InfectOnMapEnd();
VolOnMapEnd(); VolOnMapEnd();
VEffectsOnMapEnd(); VEffectsOnMapEnd();
ZombieSoundsOnMapEnd();
} }
/** /**

View File

@ -220,6 +220,11 @@ ZombieSoundsOnRoundEnd()
ZombieSoundsResetCmdTimers(); ZombieSoundsResetCmdTimers();
} }
ZombieSoundsOnMapEnd()
{
ZombieSoundsOnRoundEnd();
}
ZombieSoundsOnCommandsCreate() ZombieSoundsOnCommandsCreate()
{ {
RegConsoleCmd("scream", ZombieSoundsScreamCommand, "Emits a scream sound, if the player is a zombie."); RegConsoleCmd("scream", ZombieSoundsScreamCommand, "Emits a scream sound, if the player is a zombie.");