aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-17 21:53:06 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-17 21:53:06 +0000
commit7cac56cb9bcaabed9562a7b46718f5c5de3400b8 (patch)
tree5602ee1282509d028d8e4a76bd035cc2996b9f33 /Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
parent06924c215dcf8d4dd425cbbf178509bc222c2f7d (diff)
downloadNorthstarMods-7cac56cb9bcaabed9562a7b46718f5c5de3400b8.tar.gz
NorthstarMods-7cac56cb9bcaabed9562a7b46718f5c5de3400b8.zip
wargames intro and many fixes
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut5
1 files changed, 2 insertions, 3 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 02c312be3..b6b0aa100 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
@@ -221,7 +221,7 @@ void function SpawnPlayerIntoDropship( entity player )
ClassicMP_OnIntroFinished() // set intro as finished
// wait for intro timer to be fully done
- wait( Time() - ( file.introStartTime + DROPSHIP_INTRO_LENGTH ) )
+ wait ( file.introStartTime + DROPSHIP_INTRO_LENGTH ) - Time()
player.MovementDisable() // disable all movement but let them look around still
player.ConsumeDoubleJump() // movementdisable doesn't prevent double jumps
@@ -234,6 +234,5 @@ void function SpawnPlayerIntoDropship( entity player )
player.EnableWeaponViewModel()
RemoveCinematicFlag( player, CE_FLAG_CLASSIC_MP_SPAWNING )
- if ( GetServerVar( "switchedSides" ) != 1 )
- TryGameModeAnnouncement( player )
+ TryGameModeAnnouncement( player )
} \ No newline at end of file