prompt box style, entity prompts improvement, killing entities and particles improvement
This commit is contained in:
@@ -26,12 +26,12 @@ end
|
||||
|
||||
function Light:kill()
|
||||
if self.id ~= nil then
|
||||
table.remove(LoadedObjects.Lights,self.id)
|
||||
for _, e in pairs(LoadedObjects.Lights) do
|
||||
if e.id > self.id then
|
||||
e.id = e.id - 1
|
||||
end
|
||||
end
|
||||
table.remove(LoadedObjects.Lights,self.id)
|
||||
end
|
||||
self = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user