diff options
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_featured_mode_settings.gnut')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_featured_mode_settings.gnut | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_featured_mode_settings.gnut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_featured_mode_settings.gnut index 090814cb2..62fd52c9c 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_featured_mode_settings.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_featured_mode_settings.gnut @@ -113,13 +113,10 @@ void function FeaturedModeSettingsSetupPilotLoadouts( entity player ) void function FeaturedModeSettingsSetupTitanLoadouts( entity player, entity titan ) { - // this doesn't work atm, figure out how it should work and fix at some point - entity soul = player.GetTitanSoul() if ( IsFeaturedMode( "turbo_titans" ) ) { - if ( GetSoulTitanSubClass( soul ) == "stryder" || GetSoulTitanSubClass( soul ) == "atlas" ) - GivePassive( player, ePassives.PAS_MOBILITY_DASH_CAPACITY ) - else - GivePassive( player, ePassives.PAS_DASH_RECHARGE ) + array<string> settingsMods = player.GetPlayerSettingsMods() + settingsMods.append( "turbo_titan" ) + player.SetPlayerSettingsWithMods( player.GetPlayerSettings(), settingsMods ) } }
\ No newline at end of file |