Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
cleanup/store removal
Browse files Browse the repository at this point in the history
  • Loading branch information
totles committed Feb 12, 2019
1 parent 8843fbe commit 7342d24
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions addons/sourcemod/scripting/SurfTimer.sp
Original file line number Diff line number Diff line change
@@ -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 =
=======================================================*/
Expand All @@ -10,7 +10,6 @@
====================================*/

#include <sourcemod>
// #include <regex>
#include <sdkhooks>
#include <adminmenu>
#include <cstrike>
Expand All @@ -24,15 +23,10 @@
#include <dhooks>
#include <mapchooser>
#include <sdktools>
// #include <store>
#include <discord>
#include <sourcecomms>
#include <surftimer>

/*====================================
= Declarations =
====================================*/

/*===================================
= Definitions =
===================================*/
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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))
Expand Down Expand Up @@ -1854,9 +1842,6 @@ public void OnMapEnd()

CloseHandle(g_mTriggerMultipleMenu);

// if (g_hStore != null)
// CloseHandle(g_hStore);

if (g_hDestinations != null)
CloseHandle(g_hDestinations);

Expand Down

0 comments on commit 7342d24

Please sign in to comment.