Batman position gets reseted on new game
This commit is contained in:
1 parent
9a4f41541f
commit
5c3e01d3e4
1 file changed
+2
@@ -6,6 +6,8 @@ function batman.init()
|
||||
batman.draw=batman.draw
|
||||
local habs={5,9,46,36,18}
|
||||
batman.hab=habs[1+rnd(#habs)]
|
||||
batman.x=24
|
||||
batman.y=24
|
||||
end
|
||||
|
||||
function batman.draw()
|
||||
|
||||
Reference in new issue
Block a user