aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut4
1 files changed, 4 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut
index 11cb71f6..659dbb7a 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut
@@ -153,6 +153,8 @@ void function MarkPlayers( entity imcMark, entity militiaMark )
// clear marks
level.mfdActiveMarkedPlayerEnt[ TEAM_IMC ].SetOwner( null )
level.mfdActiveMarkedPlayerEnt[ TEAM_MILITIA ].SetOwner( null )
+ imcMark.Minimap_Hide( TEAM_MILITIA, null )
+ militiaMark.Minimap_Hide( TEAM_IMC, null )
foreach ( entity player in GetPlayerArray() )
Remote_CallFunction_NonReplay( player, "SCB_MarkedChanged" )
@@ -165,6 +167,8 @@ void function MarkPlayers( entity imcMark, entity militiaMark )
// set marks
level.mfdActiveMarkedPlayerEnt[ TEAM_IMC ].SetOwner( imcMark )
level.mfdActiveMarkedPlayerEnt[ TEAM_MILITIA ].SetOwner( militiaMark )
+ imcMark.Minimap_AlwaysShow( TEAM_MILITIA, null )
+ militiaMark.Minimap_AlwaysShow( TEAM_IMC, null )
foreach ( entity player in GetPlayerArray() )
Remote_CallFunction_NonReplay( player, "SCB_MarkedChanged" )