Release 1.2.16
- Added sort dropdown to build list - Save prompt can now show when closing program - Fixed issue caused by right-clicking a jewel socket on the passive tree when there's no jewels in the build
This commit is contained in:
13
Launch.lua
13
Launch.lua
@@ -72,6 +72,19 @@ function launch:OnInit()
|
||||
end
|
||||
end
|
||||
|
||||
function launch:CanExit()
|
||||
if self.main and self.main.CanExit and not self.promptMsg then
|
||||
local errMsg, ret = PCall(self.main.CanExit, self.main)
|
||||
if errMsg then
|
||||
self:ShowErrMsg("In 'CanExit': %s", errMsg)
|
||||
return false
|
||||
else
|
||||
return ret
|
||||
end
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
function launch:OnExit()
|
||||
if self.main and self.main.Shutdown then
|
||||
PCall(self.main.Shutdown, self.main)
|
||||
|
||||
Reference in New Issue
Block a user