Skip to content

Commit

Permalink
Fix #85.
Browse files Browse the repository at this point in the history
Version 2.11
  • Loading branch information
Hexer10 committed Jun 28, 2022
1 parent fc5b44a commit 1866aa4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions addons/sourcemod/scripting/hextags.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ public Action Timer_ForceTag(Handle timer)
if (!bHasRoundEnded) {
LogMessage("%L was changed by an external plugin, forcing him back to the HexTags' default one!", i, sTag);
}

CS_SetClientClanTag(i, selectedTags[i].ScoreTag);
}
return Plugin_Continue;
Expand Down Expand Up @@ -1203,7 +1203,8 @@ void GetTags(int client, KeyValues kv)
}

Debug_Print("Setted tag: %s", tags.ScoreTag);
CS_SetClientClanTag(client, tags.ScoreTag); //Instantly load the score-tag
if (userTags[client].Length == 0)
CS_SetClientClanTag(client, tags.ScoreTag); //Instantly load the score-tag
}
if (StrContains(tags.ChatTag, "{rainbow}") == 0)
{
Expand Down
5 changes: 3 additions & 2 deletions addons/sourcemod/scripting/include/hexstocks.inc
Original file line number Diff line number Diff line change
Expand Up @@ -948,8 +948,9 @@ stock bool Debug_PrintVector(float vec[3])
{
#if defined DEBUG
char sVector[64];
const char[][] points = {"x", "y", "z"};
for (int i = 0; i < sizeof(vec), i++)
char points[][] = {"x", "y", "z"};

for (int i = 0; i < sizeof(vec); i++)
{
Format(sVector, sizeof(sVector), "%s | %c: %2.f", points[i], vec[i]);
}
Expand Down

0 comments on commit 1866aa4

Please sign in to comment.