diff options
author | Barichello <artur@barichello.me> | 2022-02-05 01:11:30 -0300 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-02-05 01:11:30 -0300 |
commit | 401bc7beda00f5237f9033cc7fb8c300c17944a4 (patch) | |
tree | 8866bef8d1d8d32cc7e51c530640d7c17a19187a /Northstar.CustomServers | |
parent | 773764cd36b29231a7d5ede670cb3ae7fd3886ba (diff) | |
download | NorthstarMods-401bc7beda00f5237f9033cc7fb8c300c17944a4.tar.gz NorthstarMods-401bc7beda00f5237f9033cc7fb8c300c17944a4.zip |
Fix CTF halftime flag swap on mp_forwardbase_kodai and mp_lf_meadow
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut index c8ff7e9f..a0a7243b 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut @@ -205,7 +205,7 @@ void function CreateFlags() // likely this is because respawn uses distance checks from spawns to check this in official // but i don't like doing that so just using a list of maps to swap them on lol bool switchedSides = HasSwitchedSides() == 1 - bool shouldSwap = SWAP_FLAG_MAPS.contains( GetMapName() ) ? !switchedSides : switchedSides + bool shouldSwap = SWAP_FLAG_MAPS.contains( GetMapName() ) || switchedSides int flagTeam = spawn.GetTeam() if ( shouldSwap ) |