Skip to content

Commit

Permalink
probably unbreak sm 1.12 builds with my good friends fempty and bempty
Browse files Browse the repository at this point in the history
  • Loading branch information
rtldg authored Nov 16, 2024
1 parent ef2e2bb commit 17e6011
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions addons/sourcemod/scripting/shavit-stats.sp
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,10 @@ public void OnClientConnected(int client)
{
gF_PlaytimeStart[client] = 0.0;
gF_PlaytimeStyleStart[client] = 0.0;
any empty[STYLE_LIMIT];
gF_PlaytimeStyleSum[client] = empty;
gB_HavePlaytimeOnStyle[client] = empty;
float fempty[STYLE_LIMIT];
bool bempty[STYLE_LIMIT];
gF_PlaytimeStyleSum[client] = fempty;
gB_HavePlaytimeOnStyle[client] = bempty;
gB_QueriedPlaytime[client] = false;
}

Expand Down

0 comments on commit 17e6011

Please sign in to comment.