Update to the new input API

This commit is contained in:
Jean-André Santoni committed 2015-03-05 04:49:05 +01:00
1 parent f300bdaf17
commit 044d1678ea
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ function lutro.load()
end
function lutro.update(dt)
local JOY_A = lutro.input.joypad(lutro.input.JOY_A)
local JOY_A = lutro.input.joypad("a")
w1:nextGeneration()
if JOY_A == 1 then
for i=0,math.random(50,100) do