Skip to content

Commit

Permalink
Merge pull request #433 from KZGlobalTeam/dev
Browse files Browse the repository at this point in the history
3.5.1
  • Loading branch information
zealain authored Jan 7, 2023
2 parents a1267fb + e493e8b commit 4952b0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/sourcemod/scripting/gokz-global.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <sdktools>

#include <SteamWorks>
#include <GlobalAPI>
#include <gokz/anticheat>
#include <gokz/core>
Expand Down Expand Up @@ -84,7 +83,7 @@ public void OnPluginStart()
{
SetFailState("gokz-global currently only supports 128 tickrate servers.");
}
if (!SteamWorks_IsVACEnabled())
if (FindCommandLineParam("-insecure") || FindCommandLineParam("-tools"))
{
SetFailState("gokz-global currently only supports VAC-secured servers.");
}
Expand Down

0 comments on commit 4952b0a

Please sign in to comment.