Merge pull request #170 from argonui/discard-bugfix
Playmat: Discarding playercards bugfix
This commit is contained in:
commit
f130dc5e52
@ -175,7 +175,7 @@ function makeDiscardHandlerFor(searchPosition, discardPosition)
|
||||
local obj = hitObj.hit_object
|
||||
if obj.tag == "Deck" or obj.tag == "Card" then
|
||||
if obj.hasTag("PlayerCard") then
|
||||
obj.setPositionSmooth(DISCARD_PILE_POSITION, false, true)
|
||||
obj.setPositionSmooth(self.positionToWorld(DISCARD_PILE_POSITION), false, true)
|
||||
obj.setRotation(PLAY_ZONE_ROTATION)
|
||||
else
|
||||
obj.setPositionSmooth(discardPosition, false, true)
|
||||
|
Loading…
Reference in New Issue
Block a user