From 8a927288a2e6654fc934d706b41a04e770986ad8 Mon Sep 17 00:00:00 2001 From: Zanieon Date: Sun, 17 Dec 2023 13:36:31 -0300 Subject: [PATCH 1/2] move MP check up to Titan Aegis function --- Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut | 1 - 1 file changed, 1 deletion(-) diff --git a/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut b/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut index 8751a2507..0ac4b1176 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut @@ -1556,7 +1556,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 ) From 25f7dec9fdacc8e7d067b207365d0fcb5477dbb6 Mon Sep 17 00:00:00 2001 From: Zanieon Date: Sun, 17 Dec 2023 13:39:15 -0300 Subject: [PATCH 2/2] Update sh_utility_all.gnut --- Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut | 1 + 1 file changed, 1 insertion(+) diff --git a/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut b/Northstar.CustomServers/mod/scripts/vscripts/sh_utility_all.gnut index 0ac4b1176..2ca051cf8 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 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" )