From 72eb2847423302f980033e516eb30fa6cc9f3ade Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 15 Jan 2022 19:22:06 -0500 Subject: [PATCH] Add empty pedestal support --- eid_modifiers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eid_modifiers.lua b/eid_modifiers.lua index 548bf009..0841bf9f 100644 --- a/eid_modifiers.lua +++ b/eid_modifiers.lua @@ -408,7 +408,8 @@ local game = Game() local function FlipCallback(descObj) local flipItemID = EID:getEntityData(descObj.Entity, "EID_FlipItemID") - if Input.IsActionPressed(ButtonAction.ACTION_MAP, EID.player.ControllerIndex) then + if flipItemID <= 0 then return descObj end + if descObj.ObjSubType == 0 or Input.IsActionPressed(ButtonAction.ACTION_MAP, EID.player.ControllerIndex) then local descEntry = EID:getDescriptionObj(5, 100, flipItemID) return descEntry end