Skip to content

Commit

Permalink
Add another check for cover
Browse files Browse the repository at this point in the history
* New elif line to weed out opened pedestal Books without covers defined. Should fix Books getting default cover for no reason.
  • Loading branch information
DoobesURU committed Mar 3, 2023
1 parent 74b0b21 commit 4dde718
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Scripts/Python/xLinkingBookGUIPopup.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ def IShowBookNoTreasure(self):
# make sure there is a cover to show
if not showOpen and not self.IsThereACover(bookdef):
showOpen = 1
elif showOpen and not self.IsThereACover(bookdef):
showOpen = 1
else:
showOpen = 0
gLinkingBook.setGUI(gui)
Expand Down

0 comments on commit 4dde718

Please sign in to comment.