diff options
author | William Miller <william-millennium@hotmail.com> | 2023-12-17 22:38:29 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 02:38:29 +0100 |
commit | a169e16508bed6b850450d17056433a234fa29f6 (patch) | |
tree | 863f8f2e926ccb79b53312c023ab2d1b26e363d5 /Northstar.CustomServers | |
parent | 93b9c734d66af04d6e245216723c93ea49766c5b (diff) | |
download | NorthstarMods-a169e16508bed6b850450d17056433a234fa29f6.tar.gz NorthstarMods-a169e16508bed6b850450d17056433a234fa29f6.zip |
Fix restricting Aegis Rank reset functionality to MP (#771)v1.21.1-rc1v1.21.1
Move compiler flag so that `RecalculateHighestTitanFDLevel` is MP only.
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut b/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut index 8751a250..2ca051cf 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut @@ -1542,6 +1542,7 @@ array<string> function GetAvailableTitanRefs( entity player ) /// Gets the highest Titan FD level and stores it in the corresponding persistent var. /// * `player` - The player entity to perform the action on +#if MP void function RecalculateHighestTitanFDLevel( entity player ) { int enumCount = PersistenceGetEnumCount( "titanClasses" ) @@ -1556,7 +1557,6 @@ void function RecalculateHighestTitanFDLevel( entity player ) player.SetPersistentVar( "fdStats.highestTitanFDLevel", highestAegis ) } -#if MP string function GetTitanRefForLoadoutIndex( entity player, int loadoutIndex ) { TitanLoadoutDef loadout = GetTitanLoadoutFromPersistentData( player, loadoutIndex ) |