Skip to content

Commit

Permalink
Fix H-uru#1629.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas committed Nov 15, 2024
1 parent 801d482 commit d75641d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Python/xLinkingBookGUIPopup.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ def IShowBookNoTreasure(self):
gLinkingBook = ptBook(bookdef,self.key)
gLinkingBook.setSize( width, height )
# make sure there is a cover to show
if showOpen and not self.IsThereACover(bookdef):
showOpen = 0
if not showOpen and not self.IsThereACover(bookdef):
showOpen = 1
gLinkingBook.setGUI(gui)
gLinkingBook.show(showOpen)
except LookupError:
Expand Down

0 comments on commit d75641d

Please sign in to comment.