diff --git a/assets/root/game.py b/assets/root/game.py index 1198aea4..6b44a117 100644 --- a/assets/root/game.py +++ b/assets/root/game.py @@ -704,6 +704,9 @@ class GameWindow(ui.ScriptWindow): def OpenQuestWindow(self, skin, idx): self.interface.OpenQuestWindow(skin, idx) + def BINARY_ClearQuest(self, index): + self.interface.BINARY_ClearQuest(index) + def AskGuildName(self): guildNameBoard = uiCommon.InputDialog() diff --git a/assets/root/uiinventory.py b/assets/root/uiinventory.py index 8052a51c..a5629287 100644 --- a/assets/root/uiinventory.py +++ b/assets/root/uiinventory.py @@ -108,6 +108,8 @@ class BeltInventoryWindow(ui.ScriptWindow): ui.ScriptWindow.__init__(self) + self.AddFlag("float") + self.isLoaded = 0 self.wndInventory = wndInventory @@ -1106,6 +1108,9 @@ class InventoryWindow(ui.ScriptWindow): if None != self.tooltipItem: self.tooltipItem.SetTop() + if self.wndBelt: + self.wndBelt.SetTop() + def OnPressEscapeKey(self): self.Close() return True