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 function FlipCallback(descObj)
|
||||||
local flipItemID = EID:getEntityData(descObj.Entity, "EID_FlipItemID")
|
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)
|
local descEntry = EID:getDescriptionObj(5, 100, flipItemID)
|
||||||
return descEntry
|
return descEntry
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user