Merge pull request #9511 from VOREStation/upstream-merge-7800

[MIRROR] Fixes discarding cards onto walls
This commit is contained in:
Novacat
2021-01-24 01:46:10 -05:00
committed by Chompstation Bot
parent e1a8116a83
commit ee29b120ad

View File

@@ -343,7 +343,8 @@
H.update_icon()
src.update_icon()
usr.visible_message("<span class = 'notice'>\The [usr] plays \the [discarding].</span>")
H.loc = get_step(usr,usr.dir)
H.loc = get_turf(usr)
H.Move(get_step(usr,usr.dir))
if(!cards.len)
qdel(src)