mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 14:13:31 +08:00
code cleanup
This commit is contained in:
@@ -120,7 +120,7 @@ public class HideTips : BaseUnityPlugin
|
||||
);
|
||||
var labels = matcher.Labels;
|
||||
var label1 = generator.DefineLabel();
|
||||
matcher.Labels = new List<Label>();
|
||||
matcher.Labels = [];
|
||||
matcher.InsertAndAdvance(
|
||||
new CodeInstruction(OpCodes.Ldsfld, AccessTools.Field(typeof(HideTips), nameof(_noResearchCompletionTips))).WithLabels(labels),
|
||||
new CodeInstruction(OpCodes.Brtrue, label1)
|
||||
|
||||
Reference in New Issue
Block a user