mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-02-05 01:02:19 +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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user