fixing position
This commit is contained in:
parent
d2db6a49d9
commit
31e6dbf969
@ -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