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 @@ -40,6 +40,7 @@ Template for new versions:
- `immortal-cravings`: goblins and other naturally non-eating/non-drinking races will now also satisfy their needs for eating and drinking
- `caravan`: add filter for written works in display furniture assignment dialog
- `fix/wildlife`: don't vaporize stuck wildlife that is onscreen -- kill them instead (as if they died from old age)
- `gui/gm-unit`: refresh unit sprite when profession is changed

## Removed

Expand Down
1 change: 1 addition & 0 deletions internal/gm-unit/editor_profession.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ end
function Editor_Prof:save_profession(_, choice)
self.target_unit.profession = choice.profession
self.target_unit.profession2 = choice.profession
self.target_unit.flags4.any_texture_must_be_refreshed = true
end

function Editor_Prof:onOpen()
Expand Down
Loading