Skip to content

Commit

Permalink
multithread workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
cadon committed Sep 12, 2023
1 parent dd96e22 commit fc38c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SavegameToolkit/Types/ArkName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fc38c04

Please sign in to comment.