Moguda la comprovació de pintar fora de la funció draw de cada actor
This commit is contained in:
@@ -49,7 +49,9 @@ end
|
||||
|
||||
|
||||
function abad_init()
|
||||
abad={ x=40, y=24,
|
||||
abad={ name="abad",
|
||||
x=40, y=24,
|
||||
w=32, h=32,
|
||||
flip=false,
|
||||
frame=1,
|
||||
wait=0,
|
||||
@@ -265,7 +267,6 @@ function abad_land ()
|
||||
if can_land then
|
||||
abad.jump_in_half_block_used = false
|
||||
abad.jump_height = 0
|
||||
print("LANDED")
|
||||
end
|
||||
|
||||
return can_land
|
||||
|
||||
Reference in New Issue
Block a user