diff --git a/game/modules/tome/class/uiset/Minimalist.lua b/game/modules/tome/class/uiset/Minimalist.lua index a0b56e9a199c6aa2169e46f2b8814a24bf02e126..25c75c9e6d98db49622fcbf47960110fe96316ea 100644 --- a/game/modules/tome/class/uiset/Minimalist.lua +++ b/game/modules/tome/class/uiset/Minimalist.lua @@ -415,7 +415,7 @@ function _M:resizeIconsHotkeysToolbar() game:resizeMapViewport(game.w, self.map_h_stop) self.logdisplay.display_y = self.logdisplay.display_y + self.map_h_stop_up - oldstop profile.chat.display_y = profile.chat.display_y + self.map_h_stop_up - oldstop - game:setupMouse() + game:setupMouse(true) return end @@ -423,7 +423,7 @@ function _M:resizeIconsHotkeysToolbar() game:resizeMapViewport(game.w, self.map_h_stop) self.logdisplay.display_y = self.logdisplay.display_y + self.map_h_stop_up - oldstop profile.chat.display_y = profile.chat.display_y + self.map_h_stop_up - oldstop - game:setupMouse() + game:setupMouse(true) end self.hotkeys_display = config.settings.tome.hotkey_icons and self.hotkeys_display_icons or self.hotkeys_display_text diff --git a/game/modules/tome/dialogs/LevelupDialog.lua b/game/modules/tome/dialogs/LevelupDialog.lua index d7f2ab6e90dfc99c348b521aa59a6c0af240aebd..5467b9218ec586ce6ef5f4b1372e330464544de5 100644 --- a/game/modules/tome/dialogs/LevelupDialog.lua +++ b/game/modules/tome/dialogs/LevelupDialog.lua @@ -79,7 +79,7 @@ function _M:init(actor, on_finish, on_birth) if actor.alchemy_golem then self.golem_dup = backup(actor.alchemy_golem) end if actor.descriptor then - for _, v in pairs(game.engine.Birther.birth_descriptor_def) do + for _, v in pairs(engine.Birther.birth_descriptor_def) do if v.type == "subclass" and v.name == actor.descriptor.subclass then self.desc_def = v break end end end