Removed focus pause

master
a327ex 2021-07-18 01:08:59 -03:00
parent 7a7fe714f8
commit 986db10053
2 changed files with 3 additions and 1 deletions

View File

@ -126,10 +126,12 @@ function engine_run(config)
return a or 0 return a or 0
end end
elseif name == "focus" then elseif name == "focus" then
--[[]
if main.current:is(Arena) then if main.current:is(Arena) then
if not a then open_options(main.current) if not a then open_options(main.current)
else close_options(main.current) end else close_options(main.current) end
end end
]]--
elseif name == "keypressed" then input.keyboard_state[a] = true; input.last_key_pressed = a elseif name == "keypressed" then input.keyboard_state[a] = true; input.last_key_pressed = a
elseif name == "keyreleased" then input.keyboard_state[a] = false elseif name == "keyreleased" then input.keyboard_state[a] = false
elseif name == "mousepressed" then input.mouse_state[input.mouse_buttons[c]] = true; input.last_key_pressed = input.mouse_buttons[c] elseif name == "mousepressed" then input.mouse_state[input.mouse_buttons[c]] = true; input.last_key_pressed = input.mouse_buttons[c]

2
todo
View File

@ -7,7 +7,7 @@ Weekly maintenance updates:
* Warden's bubble is now affected by magnify * Warden's bubble is now affected by magnify
* Changed all text instances of "active set" to "active class" to avoid confusion * Changed all text instances of "active set" to "active class" to avoid confusion
* Added a run timer option - note that the timer will be off for saved runs that started before the patch * Added a run timer option - note that the timer will be off for saved runs that started before the patch
* Alt tabbing now automatically pauses the game while in the arena -- * Alt tabbing now automatically pauses the game while in the arena
* Shop level can now be reduced * Shop level can now be reduced
#1 #1