Fairy lights

This commit is contained in:
lustlion
2022-01-20 14:06:40 +01:00
parent 2d8b8a23db
commit ed9873d633
4 changed files with 30 additions and 3 deletions

View File

@@ -32,6 +32,9 @@ function Entity:Smart()
end
function Entity:Kill()
if self.light ~= nil then
KillLight(self.light)
end
if self.id ~= nil then
for _, e in pairs(LoadedEntities) do
if e.id > self.id then