made a table local

This commit is contained in:
lustlion
2022-02-27 04:29:13 +01:00
parent e32356335f
commit fcac1abef1
2 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,8 @@ Entity = {class = "Entity"}
LoadedObjects.Entities = {}
function Entity:New(x,y)
o = {}
local o = {}
o.pos = {x = x, y = y}
o.vel = {x = 0, y = 0}