Skip to content

Commit

Permalink
Fix safety valve.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas authored Nov 14, 2024
1 parent 864d9e9 commit a717fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Python/xLinkingBookGUIPopup.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def IShowBookNoTreasure(self):
gLinkingBook = ptBook(bookdef,self.key)
gLinkingBook.setSize( width, height )
# make sure there is a cover to show
if showOpen and self.IsThereACover(bookdef):
if showOpen and not self.IsThereACover(bookdef):
showOpen = 0
gLinkingBook.setGUI(gui)
gLinkingBook.show(showOpen)
Expand Down

0 comments on commit a717fd0

Please sign in to comment.