Skip to content
Snippets Groups Projects
Commit 419cdbc0 authored by dg's avatar dg
Browse files

Escape works in quantity prompts

git-svn-id: http://svn.net-core.org/repos/t-engine4@663 51575b47-30f0-44d4-a5cc-537603b46e54
parent b700d128
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,9 @@ function _M:init(title, prompt, act)
self.act = act
self.qty = 0
self:keyCommands{
_ESCAPE = function()
game:unregisterDialog(self)
end,
_RETURN = function()
game:unregisterDialog(self)
act(self.qty)
......
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