made a table local
This commit is contained in:
parent
e32356335f
commit
fcac1abef1
|
@ -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}
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ function interfaceDialog:New(style)
|
|||
o.size = {
|
||||
w = game.width,
|
||||
h = game.height*20/100
|
||||
|
||||
}
|
||||
|
||||
o.value = 0
|
||||
|
@ -34,7 +33,6 @@ function interfaceDialog:New(style)
|
|||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
|
||||
return o
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue