diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-14 02:20:10 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-14 02:20:10 +0000 |
commit | 1b6e5af70bf442c684b891003e516329b190c130 (patch) | |
tree | b8df2155f13ac612bfa45bfadf783b3789f117cb /Northstar.Custom/mod/scripts/vscripts/rodeo | |
parent | 4eaace462efe15328fcc171f2c7f85ff29a9e821 (diff) | |
download | NorthstarMods-1b6e5af70bf442c684b891003e516329b190c130.tar.gz NorthstarMods-1b6e5af70bf442c684b891003e516329b190c130.zip |
various fixes
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/rodeo')
-rw-r--r-- | Northstar.Custom/mod/scripts/vscripts/rodeo/_rodeo_titan.gnut | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/rodeo/_rodeo_titan.gnut b/Northstar.Custom/mod/scripts/vscripts/rodeo/_rodeo_titan.gnut index a2ff31ae..499ca0b7 100644 --- a/Northstar.Custom/mod/scripts/vscripts/rodeo/_rodeo_titan.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/rodeo/_rodeo_titan.gnut @@ -834,7 +834,7 @@ void function TryBatteryStyleRodeo( entity rodeoPilot, entity rodeoTitan, entity } #endif - bool classicRodeo = GetCurrentPlaylistVarInt( "classic_rodeo", 0 ) == 1 + bool classicRodeo = MP && GetCurrentPlaylistVarInt( "classic_rodeo", 0 ) == 1 if ( ShouldThrowGrenadeInHatch( rodeoPilot ) ) { @@ -846,6 +846,7 @@ void function TryBatteryStyleRodeo( entity rodeoPilot, entity rodeoTitan, entity waitthread PlayerRemovesBatteryPack( rodeoPilot, rodeoTitan, titanSoul, rodeoPackage ) //This ends rodeo at the end of the sequence } + #if MP if ( classicRodeo ) { RodeoBatteryRemoval_ShowBattery( rodeoPilot ) // hide battery, will be shown at the end of a battery removal rodeo @@ -876,6 +877,7 @@ void function TryBatteryStyleRodeo( entity rodeoPilot, entity rodeoTitan, entity WaitFrame() } } + #endif } struct RodeoRiderSequenceStruct |