Query daemon zones by explicit zone index
This commit is contained in:
parent
7440eda8a9
commit
d7fc9d29eb
3 changed files with 14 additions and 13 deletions
|
|
@ -151,7 +151,7 @@ public class SectorRenderer : MonoBehaviour, IBeginDragHandler, IDragHandler, IS
|
|||
.Where(name => !string.IsNullOrWhiteSpace(name))
|
||||
.ToArray();
|
||||
|
||||
var daemonZone = GameManager?.FindDaemonZoneSnapshot(zone);
|
||||
var daemonZone = GameManager?.FindDaemonZoneSnapshot(zone?.ZoneIndex ?? -1);
|
||||
if (daemonZone == null)
|
||||
{
|
||||
return new AetheriaRuntimeZoneDetailsSurfaceState(
|
||||
|
|
|
|||
Loading…
Reference in a new issue