fix: address localization review issues

This commit is contained in:
soarqin committed 2026-06-23 21:35:09 +08:00
1 parent 036243fd4a
commit 51fc080ff2
16 files changed
+189 -188

No files matched your search

+1
View File
@@ -468,6 +468,7 @@ public class DysonSpherePatch : PatchImpl<DysonSpherePatch>
var label1 = generator.DefineLabel();
var label2 = generator.DefineLabel();
matcher.MatchForward(false,
// "待机" is the compiled Chinese string for "Standby" in the original game IL.
// this.stateText.text = "Standby".Translate();
new CodeMatch(OpCodes.Ldstr, "待机"),
new CodeMatch(OpCodes.Call, AccessTools.Method(typeof(Localization), nameof(Localization.Translate))),