Add empty pedestal support
This commit is contained in:
1 parent
31a5c34146
commit
72eb284742
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user