Skip to content
Snippets Groups Projects
Commit 642bfbb6 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4973 51575b47-30f0-44d4-a5cc-537603b46e54
parent bbb9fc78
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,8 @@ If you are not currently connected to the internet, please report this bug when
local ok = require("engine.ui.Button").new{text="Send", fct=function() self:send() end}
local cancel = require("engine.ui.Button").new{text="Close", fct=function() game:unregisterDialog(self) end}
local cancel_all = require("engine.ui.Button").new{text="Close All", fct=function()
for i = #self.dialogs, 1, -1 do
local d = self.dialogs[i]
for i = #game.dialogs, 1, -1 do
local d = game.dialogs[i]
if d.__CLASSNAME == "engine.dialogs.ShowErrorStack" then
game:unregisterDialog(d)
end
......@@ -74,7 +74,7 @@ If you are not currently connected to the internet, please report this bug when
end}
local many_errs = false
for i = #self.dialogs, 1, -1 do local d = self.dialogs[i] if d.__CLASSNAME == "engine.dialogs.ShowErrorStack" then many_errs = true break end end
for i = #game.dialogs, 1, -1 do local d = game.dialogs[i] if d.__CLASSNAME == "engine.dialogs.ShowErrorStack" then many_errs = true break end end
local uis = {
{left=0, top=0, padding_h=10, ui=errmsg},
......
......@@ -1115,10 +1115,6 @@ function _M:setupCommands()
end end
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
for name, d in pairs(self.mouse.areas_name) do
print(" *** MOUSE ZONE", name, "::", d.x1, d.x2, d.y1, d.y2)
end
print("===TOTAL ZONES", #self.mouse.areas)
end end,
[{"_f","ctrl"}] = function() if config.settings.cheat then
self.player.quests["love-melinda"] = nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment