aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorEnderBoy9217 <122132914+EnderBoy9217@users.noreply.github.com>2023-07-10 10:12:23 -0400
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-11 01:33:31 +0200
commit2d073a3dd22988ed7386dae21da350613bb27b5b (patch)
treeaca429725f89fa7854a028f3c3166e0202eb9929 /Northstar.CustomServers
parenta3a7b8993216e91266c41a6823ad52fd957f940c (diff)
downloadNorthstarMods-2d073a3dd22988ed7386dae21da350613bb27b5b.tar.gz
NorthstarMods-2d073a3dd22988ed7386dae21da350613bb27b5b.zip
Fix dropship related crash (#662)
* Fix infinite loading screen * Update Northstar.Client/mod/scripts/vscripts/ui/_menus.nut * Update _menus.nut * Update _menus.nut * Update _menus.nut * Add files via upload * Update _menus.nut * Update _menus.nut * Update cplayer.nut * Update cplayer.nut * Add files via upload * Update _classic_mp_dropship_intro.gnut
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut5
1 files changed, 3 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
index 0555df9b..23ae37a1 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
@@ -188,7 +188,8 @@ void function SpawnPlayerIntoDropship( entity player )
}
// respawn player and holster their weapons so they aren't out
- player.RespawnPlayer( null )
+ if ( !IsAlive( player ) )
+ player.RespawnPlayer( null )
HolsterAndDisableWeapons(player)
player.DisableWeaponViewModel()
@@ -255,4 +256,4 @@ void function PlayerJumpsFromDropship( entity player )
WaitFrame()
TryGameModeAnnouncement( player )
-} \ No newline at end of file
+}