From 23eb4830dbf78d49c56d0b5848d1aea79acf5367 Mon Sep 17 00:00:00 2001 From: Nairda <38843773+Nairdaa@users.noreply.github.com> Date: Tue, 23 Jan 2024 05:11:27 +0100 Subject: [PATCH] Update shavit-rankings.sp exit the map string properly --- addons/sourcemod/scripting/shavit-rankings.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sourcemod/scripting/shavit-rankings.sp b/addons/sourcemod/scripting/shavit-rankings.sp index 6f7462e6a..844871579 100644 --- a/addons/sourcemod/scripting/shavit-rankings.sp +++ b/addons/sourcemod/scripting/shavit-rankings.sp @@ -1057,7 +1057,7 @@ void UpdateAllPoints(bool recalcall=false, char[] map="", int track=-1) if (track != -1) FormatEx(sTrackWhere, sizeof(sTrackWhere), "track = %d", track); if (map[0]) - FormatEx(sMapWhere, sizeof(sMapWhere), "map = '%s'", map); + FormatEx(sMapWhere, sizeof(sMapWhere), "map = \"%s\"", map); if (!recalcall && gCV_LastLoginRecalculate.IntValue > 0) {