Adjusted menu behvariour with entity and particle movement. adjusted player entity
This commit is contained in:
@@ -49,8 +49,10 @@ function Entity:CollisionMove()
|
||||
end
|
||||
end
|
||||
|
||||
function Entity:LightAdjust()
|
||||
function Entity:LightAdjust(x,y)
|
||||
if self.light ~= nil then
|
||||
local x = x or 0
|
||||
local y = y or 0
|
||||
self.light.pos.x = self.pos.x
|
||||
self.light.pos.y = self.pos.y
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user