dont unexhaust right of the asset area
This commit is contained in:
parent
13ed44058e
commit
b9a2339b80
@ -237,9 +237,9 @@ function doUpkeep(_, color, alt_click)
|
|||||||
local obj = v.hit_object
|
local obj = v.hit_object
|
||||||
if obj.getDescription() == "Action Token" and obj.is_face_down then
|
if obj.getDescription() == "Action Token" and obj.is_face_down then
|
||||||
obj.flip()
|
obj.flip()
|
||||||
elseif obj.tag == "Card" and not obj.is_face_down then
|
elseif obj.tag == "Card" and not obj.is_face_down and self.positionToLocal(obj.getPosition()).x > -0.75 then
|
||||||
local cardMetadata = JSON.decode(obj.getGMNotes()) or {}
|
local cardMetadata = JSON.decode(obj.getGMNotes()) or {}
|
||||||
if not doNotReady(obj) and cardMetadata.type ~= "Investigator" then
|
if not doNotReady(obj) then
|
||||||
obj.setRotation(PLAY_ZONE_ROTATION)
|
obj.setRotation(PLAY_ZONE_ROTATION)
|
||||||
end
|
end
|
||||||
if cardMetadata.id == "08031" then
|
if cardMetadata.id == "08031" then
|
||||||
|
Loading…
Reference in New Issue
Block a user