l4d2_cres_control: Add back prevention

This commit is contained in:
Jackzie 2021-05-17 23:20:25 -05:00
parent b90aba2658
commit 59e2aac5ed
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
2 changed files with 2 additions and 6 deletions

View file

@ -60,15 +60,11 @@ public Action Event_ButtonPress(const char[] output, int entity, int client, flo
float activatorFlow = L4D2Direct_GetFlowDistance(client);
if(!IsActivationAllowed(activatorFlow, 1500.0)) {
PrintDebug("WOULD DENY BUTTON FOR %N", client);
PrintDebug("WOULD DENY BUTTON FOR %N", client);
PrintDebug("WOULD DENY BUTTON FOR %N", client);
/*ClientCommand(client, "play ui/menu_invalid.wav");
ClientCommand(client, "play ui/menu_invalid.wav");
PrintToChat(client, "Please wait for players to catch up.");
AcceptEntityInput(entity, "Lock");
RequestFrame(Frame_ResetButton, entity);
return Plugin_Handled;*/
return Plugin_Handled;
}
lastButtonPressTime = GetGameTime();
}