From 4e131e08b8171f2e8abc233b88271a48dbddda84 Mon Sep 17 00:00:00 2001 From: runette Date: Mon, 5 Oct 2026 22:51:50 +0100 Subject: [PATCH] Update MapBoxLayer.cs --- MapBox Extension/MapBoxLayer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MapBox Extension/MapBoxLayer.cs b/MapBox Extension/MapBoxLayer.cs index 6b43cbf..c948263 100644 --- a/MapBox Extension/MapBoxLayer.cs +++ b/MapBox Extension/MapBoxLayer.cs @@ -16,7 +16,7 @@ namespace Virgis { new protected void Awake() { base.Awake(); - featureType = FeatureType.MAP; + FeatureType = FeatureType.MAP; } public override void OnNetworkSpawn() { @@ -43,7 +43,7 @@ namespace Virgis { Enum.TryParse(props.imagerySourceType, true, out tmpdata.st); Enum.TryParse(props.elevationLayerType, true, out tmpdata.lt); Enum.TryParse(props.elevationSourceType, true, out tmpdata.et); - tmpdata.origin = State.instance.project.Origin; + tmpdata.origin = State.Instance.Project.Origin; tmpdata.MapSize = props.MapSize; tmpdata.MapScale = props.MapScale; }