From 8933dec3a663866e8d5e1ee4b629b56e25d34599 Mon Sep 17 00:00:00 2001 From: Guard13007 Date: Mon, 27 Oct 2014 11:00:17 -0700 Subject: [PATCH] fixed translation examples/short.lua --- examples/short.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/short.lua b/examples/short.lua index f2686c3..1fd0800 100644 --- a/examples/short.lua +++ b/examples/short.lua @@ -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