From 7342d245c6d5ba48fcc10da77ef59b151117e254 Mon Sep 17 00:00:00 2001 From: totles Date: Tue, 12 Feb 2019 14:44:43 +0100 Subject: [PATCH] cleanup/store removal --- addons/sourcemod/scripting/SurfTimer.sp | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/addons/sourcemod/scripting/SurfTimer.sp b/addons/sourcemod/scripting/SurfTimer.sp index b791097..c4fa2a7 100644 --- a/addons/sourcemod/scripting/SurfTimer.sp +++ b/addons/sourcemod/scripting/SurfTimer.sp @@ -1,6 +1,6 @@ /*======================================================= -= CS:GO Surftimer = - This is a heavily modified version of ckSurf by fluffys += z4lab CS:GO Surftimer = + modified version of "surftimer" from fluffy for z4lab The original version of this timer was by jonitaikaponi = https://forums.alliedmods.net/showthread.php?t=264498 = =======================================================*/ @@ -10,7 +10,6 @@ ====================================*/ #include -// #include #include #include #include @@ -24,15 +23,10 @@ #include #include #include -// #include #include #include #include -/*==================================== -= Declarations = -====================================*/ - /*=================================== = Definitions = ===================================*/ @@ -1204,7 +1198,6 @@ int g_iSelectedTrigger[MAXPLAYERS + 1]; // Store int g_iMapTier; bool g_bRankedMap; -// Handle g_hStore; // Late Load Linux fix Handle g_cvar_sv_hibernate_when_empty = INVALID_HANDLE; @@ -1790,11 +1783,6 @@ public void OnMapStart() // Playtime CreateTimer(1.0, PlayTimeTimer, INVALID_HANDLE, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE); - // if (FindPluginByFile("store.smx") != INVALID_HANDLE) - // LogMessage("Store plugin has been found! Timer credits enabled."); - // else - // LogMessage("Store not found! Timer credits have been disabled"); - // Server Announcements g_iServerID = GetConVarInt(g_hServerID); if (GetConVarBool(g_hRecordAnnounce)) @@ -1854,9 +1842,6 @@ public void OnMapEnd() CloseHandle(g_mTriggerMultipleMenu); - // if (g_hStore != null) - // CloseHandle(g_hStore); - if (g_hDestinations != null) CloseHandle(g_hDestinations);