diff --git a/docs/changelog.txt b/docs/changelog.txt index d86d767df0..bdf8617716 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -59,6 +59,7 @@ Template for new versions: ## New Features ## Fixes +- `autolabor`: Fix running 1 tick less frequently than intended. - `buildingplan`: fixed non-clickable pressure plates's triggers (issue #5736) - `getplants`: added protective code to avoid misoperation when a plant has an invalid material (which should never happen, but...) diff --git a/plugins/autolabor/autolabor.cpp b/plugins/autolabor/autolabor.cpp index d0cec796fb..4fd73ce181 100644 --- a/plugins/autolabor/autolabor.cpp +++ b/plugins/autolabor/autolabor.cpp @@ -740,7 +740,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out ) return CR_OK; } - if (world->frame_counter - cycle_timestamp <= CYCLE_TICKS) + if (world->frame_counter - cycle_timestamp < CYCLE_TICKS) return CR_OK; cycle_timestamp = world->frame_counter;