From c0a0c7e502f2bc99185d79a485b965f63de7a203 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Wed, 1 Sep 2021 01:20:39 +0100 Subject: match setting localisation --- Northstar.Custom/mod/scripts/vscripts/_custom_air_accel.gnut | 2 +- Northstar.Custom/mod/scripts/vscripts/_promode.gnut | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Northstar.Custom/mod/scripts/vscripts') diff --git a/Northstar.Custom/mod/scripts/vscripts/_custom_air_accel.gnut b/Northstar.Custom/mod/scripts/vscripts/_custom_air_accel.gnut index 5c228af4..8ebef034 100644 --- a/Northstar.Custom/mod/scripts/vscripts/_custom_air_accel.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/_custom_air_accel.gnut @@ -2,7 +2,7 @@ global function CustomAirAccelVars_Init void function CustomAirAccelVars_Init() { - AddPrivateMatchModeSettingArbitrary( "Pilot", "custom_air_accel_pilot", "500" ) // 500 is the default airaccel + AddPrivateMatchModeSettingArbitrary( "#MODE_SETTING_CATEGORY_PILOT", "custom_air_accel_pilot", "500" ) // 500 is the default airaccel #if SERVER AddCallback_OnPlayerRespawned( ApplyCustomPlayerAirAccel ) diff --git a/Northstar.Custom/mod/scripts/vscripts/_promode.gnut b/Northstar.Custom/mod/scripts/vscripts/_promode.gnut index 3e6d6d65..f390fed6 100644 --- a/Northstar.Custom/mod/scripts/vscripts/_promode.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/_promode.gnut @@ -4,7 +4,7 @@ global function PromodeEnabled void function Promode_Init() { - AddPrivateMatchModeSettingEnum( "Promode", "promode_enable", [ "Disabled", "Enabled" ], "0" ) + AddPrivateMatchModeSettingEnum( "#MODE_SETTING_CATEGORY_PROMODE", "promode_enable", [ "Disabled", "Enabled" ], "0" ) #if SERVER AddCallback_OnPlayerRespawned( GivePromodeWeaponMod ) -- cgit v1.2.3