Skip to content

Commit

Permalink
remove thing that was wiping !wr menu cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rtldg committed Aug 31, 2021
1 parent a62a5ca commit 5eae3f6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions addons/sourcemod/scripting/shavit-wr.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2085,11 +2085,6 @@ public void SQL_SubMenu_Callback(Database db, DBResultSet results, const char[]
char sTrack[32];
char sMap[PLATFORM_MAX_PATH];

for (int i = 0; i < gI_Styles; i++)
{
gA_WRCache[client].fWRs[i] = 0.0;
}

if(results.FetchRow())
{
results.FetchString(0, sName, MAX_NAME_LENGTH);
Expand All @@ -2106,8 +2101,6 @@ public void SQL_SubMenu_Callback(Database db, DBResultSet results, const char[]
int iJumps = results.FetchInt(2);
float fPerfs = results.FetchFloat(9);

gA_WRCache[client].fWRs[iStyle] = fTime;

if(Shavit_GetStyleSettingInt(iStyle, "autobhop"))
{
FormatEx(sDisplay, 128, "%T: %d", "WRJumps", client, iJumps);
Expand Down

0 comments on commit 5eae3f6

Please sign in to comment.