From 1c55b37cf20286871d4d3838f02218ebded71261 Mon Sep 17 00:00:00 2001 From: Sn1p3rr3c0n Date: Fri, 12 Jul 2024 09:54:07 +0200 Subject: [PATCH] #793 fixed issue by ensuring correct settings are loaded --- Source/ProjectRimFactory/Storage/Building_StorageUnitIOPort.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ProjectRimFactory/Storage/Building_StorageUnitIOPort.cs b/Source/ProjectRimFactory/Storage/Building_StorageUnitIOPort.cs index 7d4b6abb..77e67c0c 100644 --- a/Source/ProjectRimFactory/Storage/Building_StorageUnitIOPort.cs +++ b/Source/ProjectRimFactory/Storage/Building_StorageUnitIOPort.cs @@ -226,7 +226,7 @@ public override void Tick() public void RefreshStoreSettings() { - if (mode == StorageIOMode.Output) + if (IOMode == StorageIOMode.Output) { settings = outputStoreSettings; if (boundStorageUnit != null && settings.Priority != boundStorageUnit.GetSettings.Priority)