crescendo control: only enable for coop

This commit is contained in:
Jackzie 2021-11-09 10:27:02 -06:00
parent 7ddf01ec3d
commit 9a27038e1f
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -53,9 +53,9 @@ public void Event_GamemodeChange(ConVar cvar, const char[] oldValue, const char[
public void OnMapStart() {
if(!StrEqual(gamemode, "tankrun")) {
if(StrEqual(gamemode, "coop")) {
HookEntityOutput("func_button", "OnPressed", Event_ButtonPress);
CreateTimer(0.3, Timer_GetFlows, _, TIMER_REPEAT | TIMER_FLAG_NO_MAPCHANGE);
CreateTimer(1.0, Timer_GetFlows, _, TIMER_REPEAT | TIMER_FLAG_NO_MAPCHANGE);
}
}