Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Template for new versions:
## New Features

## Fixes
- `autolabor`: Fix running 1 tick less frequently than intended.

## Misc Improvements

Expand Down
2 changes: 1 addition & 1 deletion plugins/autolabor/autolabor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down