aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/gamemodes
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-26 04:24:26 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-26 04:24:26 +0000
commitdc60309beafb22e34d91593417b09d84e9442089 (patch)
treeebe5253297db76b0d9f6db3acef7f54bf6a18908 /Northstar.Custom/mod/scripts/vscripts/gamemodes
parente4faa247edaf389d4d52e3a3129af540bb19a0ac (diff)
downloadNorthstarMods-dc60309beafb22e34d91593417b09d84e9442089.tar.gz
NorthstarMods-dc60309beafb22e34d91593417b09d84e9442089.zip
evac, dropship, bleedout, flyout, private lobby, fastball and server browser fixes
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/gamemodes')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut7
1 files changed, 2 insertions, 5 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut
index b4e5ef2b..5f2e6adc 100644
--- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut
+++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut
@@ -127,10 +127,7 @@ void function FastballPlayer( entity player )
player.EndSignal( "OnDeath" )
- // do this here so it's in OnThreadEnd
- var oldVisibility = player.kv.VisibilityFlags
-
- OnThreadEnd( function() : ( player, oldVisibility )
+ OnThreadEnd( function() : ( player )
{
if ( IsValid( player ) )
{
@@ -140,7 +137,7 @@ void function FastballPlayer( entity player )
player.DeployWeapon()
player.PlayerCone_Disable()
player.ClearInvulnerable()
- player.kv.VisibilityFlags = oldVisibility // restore visibility
+ player.kv.VisibilityFlags = ENTITY_VISIBLE_TO_EVERYONE // restore visibility
}
})