Skip to content
Merged
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 changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Template for new versions:
- `control-panel`: fix setting numeric preferences from the commandline
- `gui/quickfort`: fix build mode evluation rules to allow placement of various furniture and constructions on tiles with stair shapes or without orthagonal floor.
- `emigration`: save-and-reload no longer resets the emigration cycle timeout, making gameplay more consistent
- `rejuvenate`: ``--age`` no longer throws the error ``attempt to compare string with number``

## Misc Improvements
- `control-panel`: Add realistic-melting tweak to control-panel registry
Expand Down
2 changes: 1 addition & 1 deletion rejuvenate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ local function main(args)
table.insert(units, dfhack.gui.getSelectedUnit(true) or qerror("Please select a unit in the UI."))
end
for _, u in ipairs(units) do
rejuvenate(u, false, args.force, args['dry-run'], args.age)
rejuvenate(u, false, args.force, args['dry-run'], tonumber(args.age))
end
end

Expand Down