Fixed zombie scream command timers not properly destroyed on map change.
This commit is contained in:
parent
c2da0b54ec
commit
23bc0b5dcf
@ -195,6 +195,7 @@ public OnMapEnd()
|
|||||||
InfectOnMapEnd();
|
InfectOnMapEnd();
|
||||||
VolOnMapEnd();
|
VolOnMapEnd();
|
||||||
VEffectsOnMapEnd();
|
VEffectsOnMapEnd();
|
||||||
|
ZombieSoundsOnMapEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.");
|
||||||
|
Loading…
Reference in New Issue
Block a user