From a4910e94bb7049606b33effafde0f6264b56f7ef Mon Sep 17 00:00:00 2001 From: Arne Kiesewetter Date: Mon, 27 Jun 2022 21:24:01 +0200 Subject: [PATCH] Increment shared component key version --- LogixVisualCustomizer/SharedSettingsManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogixVisualCustomizer/SharedSettingsManager.cs b/LogixVisualCustomizer/SharedSettingsManager.cs index a14ea4e..ccd3bbc 100644 --- a/LogixVisualCustomizer/SharedSettingsManager.cs +++ b/LogixVisualCustomizer/SharedSettingsManager.cs @@ -126,7 +126,7 @@ public static void SetSharedValue(this World world, ModConfigurationKey co private static T createSharedComponent(this World world, string key) where T : Component, new() { var component = world.AssetsSlot.FindOrAdd(AssetsSlotName).AttachComponent(); - component.AssignKey(key); + component.AssignKey(key, 1); return component; }