Skip to content

Commit a169e16

Browse files
authored
Fix restricting Aegis Rank reset functionality to MP (#771)
Move compiler flag so that `RecalculateHighestTitanFDLevel` is MP only.
1 parent 93b9c73 commit a169e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut

+1-1
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,7 @@ array<string> function GetAvailableTitanRefs( entity player )
15421542

15431543
/// Gets the highest Titan FD level and stores it in the corresponding persistent var.
15441544
/// * `player` - The player entity to perform the action on
1545+
#if MP
15451546
void function RecalculateHighestTitanFDLevel( entity player )
15461547
{
15471548
int enumCount = PersistenceGetEnumCount( "titanClasses" )
@@ -1556,7 +1557,6 @@ void function RecalculateHighestTitanFDLevel( entity player )
15561557
player.SetPersistentVar( "fdStats.highestTitanFDLevel", highestAegis )
15571558
}
15581559

1559-
#if MP
15601560
string function GetTitanRefForLoadoutIndex( entity player, int loadoutIndex )
15611561
{
15621562
TitanLoadoutDef loadout = GetTitanLoadoutFromPersistentData( player, loadoutIndex )

0 commit comments

Comments
 (0)