Fix restricting Aegis Rank reset functionality to MP (#771)

Move compiler flag so that `RecalculateHighestTitanFDLevel` is MP only.
This commit is contained in:
William Miller 2023-12-17 22:38:29 -03:00 committed by GitHub
parent 93b9c734d6
commit a169e16508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 )