mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-08-05 17:30:16 +08:00
fix: address localization review issues
This commit is contained in:
@@ -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))),
|
||||
|
||||
Reference in New Issue
Block a user