minor fix

This commit is contained in:
soarqin committed 2026-01-23 02:12:24 +08:00
1 parent 2377f92589
commit 3156f0ffb5
2 files changed
+2 -2

No files matched your search

+2
View File
@@ -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;
}
}