modifié : main.lua
This commit is contained in:
parent
9c97866043
commit
31d42806f4
2
main.lua
2
main.lua
@ -75,7 +75,6 @@ function love.update(dt)
|
||||
|
||||
if love.keyboard.isDown("space") then
|
||||
tir = true
|
||||
PosPersonnage.tirY = PosPersonnage.Y
|
||||
end
|
||||
|
||||
if tir == true then
|
||||
@ -84,6 +83,7 @@ function love.update(dt)
|
||||
|
||||
if Pistol > love.graphics.getWidth() then
|
||||
Pistol = PosPersonnage.tir
|
||||
PosPersonnage.tirY = PosPersonnage.Y
|
||||
tir = false
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user