prompt box style, entity prompts improvement, killing entities and particles improvement

This commit is contained in:
lustlion
2022-03-11 13:04:36 +01:00
parent 8c8e4808ad
commit 96b1e750e4
6 changed files with 66 additions and 22 deletions

View File

@@ -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