mirror of
https://codeberg.org/spire/autoexec.git
synced 2026-06-03 18:24:06 +02:00
fix loading ugc 6s configs
This commit is contained in:
parent
6cecdec458
commit
81681dddc0
2 changed files with 6 additions and 0 deletions
Binary file not shown.
|
|
@ -52,6 +52,7 @@ public OnPluginStart() {
|
|||
mapOverwriteMap.SetString("cp_hadal", "stopwatch");
|
||||
|
||||
gameModeMap.SetString("9v9", "hl");
|
||||
gameModeMap.SetString("6v6", "6v");
|
||||
}
|
||||
|
||||
public OnMapStart() {
|
||||
|
|
@ -92,6 +93,11 @@ public Action:HandleExecAction(args) {
|
|||
SetConVarString(CvarMode, "6v6");
|
||||
}
|
||||
|
||||
if (StrContains(cfg, "6v_") > 0) {
|
||||
PrintToChatAll("Setting game mode to 6v6");
|
||||
SetConVarString(CvarMode, "6v6");
|
||||
}
|
||||
|
||||
if (StrContains(cfg, "4v4_") > 0) {
|
||||
PrintToChatAll("Setting game mode to 4v4");
|
||||
SetConVarString(CvarMode, "4v4");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue