Skip to content

Commit

Permalink
fix UnlockableContent.Stats
Browse files Browse the repository at this point in the history
  • Loading branch information
way-zer committed Feb 19, 2024
1 parent 1106aa9 commit 39bfedd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ object MindustryContentsResolver : ContentsTweaker.NodeCollector {
+CTNode.ObjInfo(it)
+CTNode.AfterHandler {
if (it is UnlockableContent) {
it.stats = Stats()
it.setStats()
it.stats = Stats().apply {
useCategories = it.stats.useCategories
}
}
if (it is Block) {
it.barMap.clear()
Expand Down

0 comments on commit 39bfedd

Please sign in to comment.