The code im using gives me a syntax error, here is my code function fire() local b = { sp=3 x=ship.x, y=ship.y, dx=0, dy=-3 } add(bullets,b) end
It is the only thing wrong with the code it says "unclosed '{' even when it isnt.