diff options
author | EnderBoy9217 <122132914+EnderBoy9217@users.noreply.github.com> | 2023-07-10 10:12:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 16:12:23 +0200 |
commit | 41f104e5f40654948dccfefd169152d47064c6ae (patch) | |
tree | dfe416c128b40364dec70e9ea5c97fddf843fcc0 /Northstar.CustomServers/mod/scripts/vscripts | |
parent | 6727571794b28cf5b5cdb190fd1661a1000143ad (diff) | |
download | NorthstarMods-41f104e5f40654948dccfefd169152d47064c6ae.tar.gz NorthstarMods-41f104e5f40654948dccfefd169152d47064c6ae.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/mod/scripts/vscripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut | 5 |
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 +} |