1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-25 17:17:15 +08:00

UXAssist: some fixes

This commit is contained in:
2026-03-07 19:42:29 +08:00
parent 5e501ea649
commit ad99b49bad
3 changed files with 12 additions and 33 deletions

View File

@@ -134,6 +134,7 @@ public static class TechPatch
_protoPatched = false;
}
LDB.techs.Signature = ProtoSignature_0_10_30_3100.CalculateSignature(LDB.techs);
var techTree = UIRoot.instance?.uiGame?.techTree;
if (techTree != null && techTree.isActiveAndEnabled)
techTree.OnPageChanged();
@@ -268,6 +269,7 @@ public static class TechPatch
_originTechPosts.Clear();
_protoPatched = false;
}
LDB.techs.Signature = ProtoSignature_0_10_30_3100.CalculateSignature(LDB.techs);
var nodes = UIRoot.instance.uiGame.techTree.nodes;
var history = GameMain.history;
foreach (var item in nodes)