Permalink
Browse files

don't break on cutscenes when resting outside, either

  • Loading branch information...
1 parent 09155cc commit 66418f106d1280aa202175fa310d5f4e795c8eb3 @fizzet fizzet committed Apr 27, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 gemrb/GUIScripts/GUICommonWindows.py
@@ -1814,5 +1814,6 @@ def ToggleAlwaysRun():
GemRB.GameControlToggleAlwaysRun()
def RestPress ():
- GemRB.RestParty(0, 0, 1)
+ if GemRB.RestParty(0, 0, 1):
+ GUICommon.CloseOtherWindow(None)
return

0 comments on commit 66418f1

Please sign in to comment.