typo in demo

"esc" isn't been used for the escape key, and wasn't in 0.9.2 either.
This commit is contained in:
/Fox --develop 2017-07-26 20:12:37 -07:00 committed by GitHub
parent 41a97c2e55
commit b2df6b9944

View File

@ -41,7 +41,7 @@ function love.update(dt)
local data = Prof:unpack()
end
function love.keypressed(key)
if key == "esc" then
if key == "escape" then
ProfOn = not ProfOn
elseif key == ";" then
drawRect = not drawRect