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 +}