Skip to content

Commit

Permalink
Increment shared component key version
Browse files Browse the repository at this point in the history
  • Loading branch information
Banane9 committed Jun 27, 2022
1 parent 8b8fcc0 commit a4910e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LogixVisualCustomizer/SharedSettingsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static void SetSharedValue<T>(this World world, ModConfigurationKey<T> co
private static T createSharedComponent<T>(this World world, string key) where T : Component, new()
{
var component = world.AssetsSlot.FindOrAdd(AssetsSlotName).AttachComponent<T>();
component.AssignKey(key);
component.AssignKey(key, 1);

return component;
}
Expand Down

0 comments on commit a4910e9

Please sign in to comment.