fix lights not working

This commit is contained in:
techbot 2023-10-26 20:45:55 +02:00
parent d07769c5b0
commit 2bd77372a3

View File

@ -20,7 +20,7 @@ BUILDER:EndStorableVars()
function PART:GetLight()
if not self.light then
self.light = DynamicLight(tonumber(self.UniqueID))
self.light = DynamicLight(tonumber(pac.LocalPlayer:EntIndex()))
end
self.light.decay = 0
self.light.dietime = math.huge