Keep Unity state surface compile fixes
This commit is contained in:
parent
9948d5eeca
commit
6dba17d86c
10 changed files with 53 additions and 11 deletions
|
|
@ -797,6 +797,22 @@ public class InventoryMenu : MonoBehaviour
|
|||
return currentEntity != null;
|
||||
}
|
||||
|
||||
private AetheriaRuntimeStationRefitDocument ResolveStationRefit()
|
||||
{
|
||||
try
|
||||
{
|
||||
return ResolveClient()
|
||||
.StationRefitAsync()
|
||||
.GetAwaiter()
|
||||
.GetResult();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.LogWarning($"Failed to read Aetheria station refit projection for inventory menu: {ex.Message}");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private bool TryResolveCurrentDocking(out AetheriaRuntimeCurrentDockingDocument docking)
|
||||
{
|
||||
docking = null;
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ using UniRx;
|
|||
using UniRx.Triggers;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using Path = System.IO.Path;
|
||||
|
||||
public class LocalMenu : MonoBehaviour
|
||||
{
|
||||
|
|
|
|||
|
|
@ -243,8 +243,7 @@ public class SectorMap : MonoBehaviour
|
|||
foreach (var factionIndex in ResolveFactionIndices())
|
||||
AddFactionMaterials(factionIndex);
|
||||
|
||||
foreach (var zoneIndex in _sectorMap.DiscoveredZoneIndices)
|
||||
QueueZoneReveal([zoneIndex]);
|
||||
QueueZoneReveal(_sectorMap.DiscoveredZoneIndices);
|
||||
|
||||
if (_queuedZoneReveals.Count == 0)
|
||||
QueueZoneReveal(_sectorMap.Zones.Select(zone => zone.ZoneIndex));
|
||||
|
|
|
|||
Loading…
Reference in a new issue