1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-31 19:07:13 +08:00

code format

This commit is contained in:
2026-02-09 21:12:32 +08:00
parent 358fd4cf23
commit f0ee1aaea9
4 changed files with 8 additions and 4 deletions

View File

@@ -457,7 +457,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
}
[HarmonyTranspiler]
[HarmonyPatch(typeof(PlanetSimulator), nameof(PlanetSimulator.LateRefresh))]
[HarmonyPatch(typeof(PlanetSimulator), nameof(PlanetSimulator.LateRefresh))]
private static IEnumerable<CodeInstruction> PlanetSimulator_LateRefresh_Transpiler(IEnumerable<CodeInstruction> instructions, ILGenerator generator)
{
// var vec = (NightlightEnabled ? GameMain.mainPlayer.transform.up : (Quaternion.Inverse(localPlanet.runtimeRotation) * (__instance.planetData.star.uPosition - __instance.planetData.uPosition).normalized));