Skip to content

Commit

Permalink
closes #125
Browse files Browse the repository at this point in the history
  • Loading branch information
Muttley committed Jan 14, 2024
1 parent e5396db commit 84d2976
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# v11.3.3

## Bugfixes
- [#125] Updating NPC name doesn't get reflected immediately in a related settlement sheet

# v11.3.3

## Enhancements
- [#120] Group settlement stockpile items by type

Expand Down
4 changes: 4 additions & 0 deletions system/src/sheets/FalloutNpcSheet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,9 @@ export default class FalloutNpcSheet extends FalloutBaseActorSheet {
if (settlement) settlement.sheet.render(false);
}
}
else if (newSettlement !== "") {
const settlement = await fromUuid(newSettlement);
if (settlement) settlement.sheet.render(false);
}
}
}
2 changes: 1 addition & 1 deletion system/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "fallout",
"title": "Fallout 2d20",
"description": "The Unofficial Fallout 2d20 System for FoundryVTT",
"version": "11.3.3",
"version": "11.3.4",
"compatibility": {
"minimum": "11",
"verified": "11"
Expand Down

0 comments on commit 84d2976

Please sign in to comment.