PlaytimeStats: fix

This commit is contained in:
Dogan 2019-11-07 22:37:32 +01:00
parent 9c4b1aaee9
commit 72ee6f2d0d

View File

@ -28,7 +28,7 @@ public void OnPluginStart()
RegConsoleCmd("sm_topplaytime", Command_TopTime, "retreives top 12 playtime highscores on all connected servers");
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
if((g_cvServerType = FindConVar("sm_server_type")) == INVALID_HANDLE)
SetFailState("Failed to find sm_server_type cvar.");