diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-11 23:04:01 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-11 23:04:01 +0000 |
commit | 4eaace462efe15328fcc171f2c7f85ff29a9e821 (patch) | |
tree | d4929ad4eecbae70a4ad5c01e40247aa9358bd74 /Northstar.CustomServers/mod/scripts | |
parent | 30bc58c9ab1563a1dcbbb671db9ee446dc7df37d (diff) | |
download | NorthstarMods-4eaace462efe15328fcc171f2c7f85ff29a9e821.tar.gz NorthstarMods-4eaace462efe15328fcc171f2c7f85ff29a9e821.zip |
fix titan ready text displaying after lts respawn
Diffstat (limited to 'Northstar.CustomServers/mod/scripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut index 0425f1d7..9c4949b6 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut @@ -411,7 +411,7 @@ void function RespawnAsTitan( entity player, bool manualPosition = false ) DispatchSpawn( titan ) player.SetPetTitan( null ) // prevent embark prompt from showing up - AddCinematicFlag( player, CE_FLAG_HIDE_MAIN_HUD ) // hide hud + AddCinematicFlag( player, CE_FLAG_CLASSIC_MP_SPAWNING ) // hide hud // do titanfall scoreevent AddPlayerScore( player, "Titanfall", player ) @@ -436,7 +436,7 @@ void function RespawnAsTitan( entity player, bool manualPosition = false ) { if ( IsValid( player ) ) { - RemoveCinematicFlag( player, CE_FLAG_HIDE_MAIN_HUD ) // show hud + RemoveCinematicFlag( player, CE_FLAG_CLASSIC_MP_SPAWNING ) // show hud player.isSpawning = false } @@ -449,7 +449,6 @@ void function RespawnAsTitan( entity player, bool manualPosition = false ) player.RespawnPlayer( null ) // spawn player as pilot so they get their pilot loadout on embark player.SetOrigin( titan.GetOrigin() ) - WaitFrame() PilotBecomesTitan( player, titan ) // make player titan } |