Skip to content

Commit

Permalink
Fixed picked TURDs appearing to be re-pickable when they were not.
Browse files Browse the repository at this point in the history
  • Loading branch information
Septiple committed Dec 16, 2024
1 parent d6fdd4c commit b4fd18c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Date: ?
- Greatly increased the science pack requirement for the wood processing unit turd from 500 -> 7000. Resolves https://github.com/pyanodon/pybugreports/issues/758
- Fix the base productivity on Composter from Composter TURD path 2.
- All caravans can use all caravan outpost types
- Fixed picked TURDs appearing to be re-pickable when they were not. Resolves https://github.com/pyanodon/pybugreports/issues/769
---------------------------------------------------------------------------------------------------
Version: 3.0.31
Date: 2024-11-29
Expand Down
2 changes: 1 addition & 1 deletion scripts/turd/turd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local function update_confirm_button(element, player, researched_technologies)
if seconds < 10 then seconds = "0" .. seconds end
element.style = "confirm_button_without_tooltip"
element.caption = {"turd.unselect-migrate", hours, minutes, seconds}
elseif (storage.turd_reset_remaining[force_index] or 0) >= 0 then
elseif (storage.turd_reset_remaining[force_index] or 0) > 0 then
element.style = "confirm_button_without_tooltip"
element.caption = {"turd.unselect"}
else
Expand Down

0 comments on commit b4fd18c

Please sign in to comment.