Replaced the id system with a simple flag for deletion
This commit is contained in:
@@ -36,8 +36,6 @@ function CursedBook:new(x,y)
|
||||
light_data.color = nil
|
||||
o.light = Light:new(o.pos.x,o.pos.y,light_data)
|
||||
|
||||
o:id()
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
return o
|
||||
|
||||
Reference in New Issue
Block a user