Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
CloseContainerWindow: resolved iwd2 fixme
  • Loading branch information
lynxlynxlynx committed May 12, 2016
1 parent f3bd2f7 commit 9409389
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions gemrb/GUIScripts/CommonWindow.py
Expand Up @@ -282,12 +282,10 @@ def CloseContainerWindow ():
GUICommonWindows.ActionsWindow.SetVisible(WINDOW_VISIBLE)


# FIXME: iwd2 bug or just bad naming?
if GameCheck.IsIWD2():
GemRB.SetVar ("MessageWindow", GUIWORLD.OldMessageWindow.ID)
else:
GemRB.SetVar ("MessageWindow", GUIWORLD.OldMessageWindow.ID)
# iwd2 has no separate action window
if not GameCheck.IsIWD2():
GemRB.SetVar ("ActionsWindow", GUIWORLD.OldActionsWindow.ID)
GemRB.SetVar ("MessageWindow", GUIWORLD.OldMessageWindow.ID)

Table = GemRB.LoadTable ("containr")
row = Container['Type']
Expand Down

0 comments on commit 9409389

Please sign in to comment.