fixed translation examples/short.lua

This commit is contained in:
Guard13007 2014-10-27 11:00:17 -07:00
parent 606383e0a8
commit 8933dec3a6

View File

@ -83,15 +83,15 @@ end
function love.update(dt)
love.window.setTitle("Light vs. Shadow Engine (FPS:" .. love.timer.getFPS() .. ")")
if love.keyboard.isDown("up") then
if love.keyboard.isDown("down") then
y = y - dt * 200
elseif love.keyboard.isDown("down") then
elseif love.keyboard.isDown("up") then
y = y + dt * 200
end
if love.keyboard.isDown("left") then
if love.keyboard.isDown("right") then
x = x - dt * 200
elseif love.keyboard.isDown("right") then
elseif love.keyboard.isDown("left") then
x = x + dt * 200
end