From 8d347b0cb2f1376be6d9bf2178f5b33253e665a1 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Wed, 1 Feb 2023 16:21:01 +0100 Subject: [PATCH] mapvote 1.1.2 Stupid mistake that was throwing an error --- mapvote/mapvote.gsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mapvote/mapvote.gsc b/mapvote/mapvote.gsc index 364dcca..1c12238 100644 --- a/mapvote/mapvote.gsc +++ b/mapvote/mapvote.gsc @@ -611,9 +611,9 @@ RotateDefault() DoRotation(GetRandomElementInArray(StrTok(GetDvar("mapvote_default_rotation_modes"), ":")), GetRandomElementInArray(StrTok(GetDvar("mapvote_default_rotation_maps"), ":"))); } -DoRotation(modeName, mapName) +DoRotation(modeDsr, mapName) { - cmdexec("load_dsr " + modeDsr); + cmdexec("load_dsr " + modeDsr); wait(0.05); cmdexec("map " + mapName); } @@ -930,4 +930,4 @@ GetChatColor(colorName) case "black": return "^0"; } -} \ No newline at end of file +}