revert position change for mega chests
This commit is contained in:
1 parent
00b9346c7f
commit
efca551ec9
1 file changed
+2
-1
@@ -574,7 +574,8 @@ function EID:onGameUpdate()
|
||||
local pos = entity.Position
|
||||
for _, otherPos in ipairs(curPositions) do
|
||||
if pos:Distance(otherPos[2]) == 0 then
|
||||
--entity.Position = entity.Position + Vector(1,0)
|
||||
-- adjust the position so Mega Chests can have both descriptions viewable
|
||||
entity.Position = entity.Position + Vector(1,0)
|
||||
entity:GetData()["EID_RenderOffset"] = Vector(10,0)
|
||||
otherPos[1]:GetData()["EID_RenderOffset"] = Vector(-10,0)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user