Skip to content

Commit

Permalink
Fixed tech category display names not applied
Browse files Browse the repository at this point in the history
  • Loading branch information
Metious committed Nov 14, 2023
1 parent f655a4d commit 1c31547
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ public static EnumBuilder<TechCategory> WithPdaInfo(this EnumBuilder<TechCategor
if (string.IsNullOrEmpty(friendlyName))
{
InternalLogger.Warn($"Display name for TechCategory '{name}' is not specified and no language key has been found. Setting display name to 'TechCategory{name}'.");
uGUI_BlueprintsTab.techCategoryStrings.valueToString[category] = "TechCategory" + name;
return builder;
}

uGUI_BlueprintsTab.techCategoryStrings.valueToString[category] = "TechCategory" + friendlyName;
uGUI_BlueprintsTab.techCategoryStrings.valueToString[category] = "TechCategory" + name;
return builder;
}

Expand Down

0 comments on commit 1c31547

Please sign in to comment.