From 3257a8381c991bcbde01366386053e4346d0b3f6 Mon Sep 17 00:00:00 2001 From: T <74899888+tslashd@users.noreply.github.com> Date: Sun, 3 Sep 2023 12:39:29 +0300 Subject: [PATCH] #577 whoopsie (#597) --- addons/sourcemod/scripting/SurfTimer.sp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/sourcemod/scripting/SurfTimer.sp b/addons/sourcemod/scripting/SurfTimer.sp index 652505b0..cc2012e2 100644 --- a/addons/sourcemod/scripting/SurfTimer.sp +++ b/addons/sourcemod/scripting/SurfTimer.sp @@ -499,6 +499,9 @@ public void OnClientPutInServer(int client) LoadClientSetting(client, g_iSettingToLoad[client]); } + /* Init the cp list with the enum we've made for it newrecord-cp-list*/ + g_aCheckpointsDifference[client] = new ArrayList(sizeof(RunCheckpoints)); + // Position Restoring if (GetConVarBool(g_hcvarRestore) && !g_bRenaming && !g_bInTransactionChain) {