mapvote 2.1.5

Fixed an issue introduced by a recent Plutonium update (changes to recipes) where modes wouldn't be loaded properly anymore because sv_maprotation wasn't using exec anymore (now using execgts)
This commit is contained in:
Resxt 2024-12-14 16:18:14 +01:00 committed by GitHub
parent a0e3b204c2
commit 0f6a3761cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -707,8 +707,8 @@ RotateDefault()
DoRotation(modeCfg, mapName)
{
SetDvar("sv_maprotationcurrent", "exec " + modeCfg + ".cfg map " + mapName);
SetDvar("sv_maprotation", "exec " + modeCfg + ".cfg map " + mapName);
SetDvar("sv_maprotationcurrent", "execgts " + modeCfg + ".cfg map " + mapName);
SetDvar("sv_maprotation", "execgts " + modeCfg + ".cfg map " + mapName);
}
StartRotation()
@ -1151,4 +1151,4 @@ GetChatColor(colorName)
case "black":
return "^0";
}
}
}