Skip to content

Commit

Permalink
Fix restricting Aegis Rank reset functionality to MP (#771)
Browse files Browse the repository at this point in the history
Move compiler flag so that `RecalculateHighestTitanFDLevel` is MP only.
  • Loading branch information
Zanieon authored Dec 18, 2023
1 parent 93b9c73 commit a169e16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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" )
Expand All @@ -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 )
Expand Down

0 comments on commit a169e16

Please sign in to comment.