reduce message frequency

This commit is contained in:
Oldcustard 2023-03-08 17:38:43 +11:00
parent df14ed2165
commit 8ba8dd3398

View File

@ -6,7 +6,7 @@
#pragma semicolon 1 #pragma semicolon 1
#pragma newdecls required #pragma newdecls required
#define PLUGIN_VERSION "1.0" #define PLUGIN_VERSION "1.1"
ConVar g_cvarConfigName; ConVar g_cvarConfigName;
bool g_bConfigLoaded = false; bool g_bConfigLoaded = false;
@ -51,7 +51,7 @@ public void OnMapStart()
* @note Precache your models, sounds, etc. here! * @note Precache your models, sounds, etc. here!
* Not in OnConfigsExecuted! Doing so leads to issues. * Not in OnConfigsExecuted! Doing so leads to issues.
*/ */
g_reminder_timer = CreateTimer(30.0, PostReminder, 0, TIMER_REPEAT); g_reminder_timer = CreateTimer(60.0, PostReminder, 0, TIMER_REPEAT);
char config_name[64]; char config_name[64];
LoadConfig(config_name, sizeof(config_name)); LoadConfig(config_name, sizeof(config_name));