mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-02-04 15:12:17 +08:00
minor fix
This commit is contained in:
@@ -1170,6 +1170,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
|
||||
currentVeinIndex++;
|
||||
}
|
||||
__instance.currentVeinIndex = veinCount > 1 ? currentVeinIndex % veinCount : 0;
|
||||
__instance.time -= __instance.period * times;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1259,6 +1260,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
|
||||
}
|
||||
else
|
||||
{
|
||||
__instance.time -= __instance.period * times;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,8 +27,6 @@ public class MyConfigWindow : MyWindowWithTabs
|
||||
OnUICreated?.Invoke(this, _windowTrans);
|
||||
SetCurrentTab(0);
|
||||
OnUpdateUI?.Invoke();
|
||||
// Delay 500ms to run AutoFitWindowSize() after the window is created
|
||||
// Invoke(nameof(AutoFitWindowSize), 0f);
|
||||
}
|
||||
|
||||
public override void _OnDestroy()
|
||||
|
||||
Reference in New Issue
Block a user