Fixed local mode not working in sacrifice rooms

This commit is contained in:
Wofsauge committed 2024-01-13 17:39:47 +01:00
1 parent 4e12773d62
commit da9cf9ddef
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -899,5 +899,5 @@ EID.ItemPoolTypeToMarkup = { [0] = "{{ItemPoolTreasure}}", "{{ItemPoolShop}}", "
-- If a function returns a value, it will be used as the offset
EID.LocalModePositionOffset = {
Default = Vector(0, 20),
Shop = function(entity) if entity:ToPickup() and entity:ToPickup():IsShopItem() then return Vector(0, 35) end end,
Shop = function(entity) if entity and not EID:IsGridEntity(entity) and entity:ToPickup() and entity:ToPickup():IsShopItem() then return Vector(0, 35) end end,
}