Permalink
Browse files

Fix command name in api test plugin

  • Loading branch information...
Bara committed Nov 24, 2018
1 parent 295ad3b commit 3645b3b743d467037facdd7f07849215a06bf047
Showing with 2 additions and 2 deletions.
  1. +1 −1 addons/sourcemod/scripting/tests/ttt_api_test.sp
  2. +1 −1 addons/sourcemod/scripting/ttt/ttt.sp
@@ -250,7 +250,7 @@ public void TTT_OnKarmaUpdate(int client, KarmaUpdate type, int karma)
public bool TTT_OnCheckCommandAccess(int client, const char[] command, const char[] flags, bool access)
{
LogMessage("TTT_OnCheckCommandAccess was called!");
LogMessage("(TTT_OnCheckCommandAccess) client: %d - command: %d - flags: %d - access", client, command, flags, access);
LogMessage("(TTT_OnCheckCommandAccess) client: %d - command: %s - flags: %d - access", client, command, flags, access);
}
public void TTT_OnSQLConnect(Database db)
@@ -3217,7 +3217,7 @@ public Action Timer_OnRoundEnd(Handle timer)
public Action CS_OnTerminateRound(float &delay, CSRoundEndReason &reason)
{
if (g_bRoundStarted)
if (!g_cDebug.BoolValue && g_bRoundStarted)
{
return Plugin_Handled;
}

0 comments on commit 3645b3b

Please sign in to comment.