diff --git a/SavegameToolkit/Types/ArkName.cs b/SavegameToolkit/Types/ArkName.cs index 36e4d86..313fbc9 100644 --- a/SavegameToolkit/Types/ArkName.cs +++ b/SavegameToolkit/Types/ArkName.cs @@ -52,7 +52,7 @@ private ArkName(string name, int instance, string content) { public static ArkName From(string name) { if (name == null || !nameCache.TryGetValue(name, out ArkName value)) { value = new ArkName(name); - nameCache.Add(name, value); + nameCache[name] = value; } return value; }