Fixing two handed items and etcetera.

This commit is contained in:
Ghommie
2020-06-30 16:24:04 +02:00
parent 28fd6304e2
commit cd1c5511a4
5 changed files with 13 additions and 7 deletions
+1 -2
View File
@@ -828,12 +828,11 @@
var/obj/item/toy/cards/singlecard/H = new/obj/item/toy/cards/singlecard(user.loc)
if(holo)
holo.spawned += H // track them leaving the holodeck
choice = cards[1]
choice = popleft(cards)
H.cardname = choice
H.parentdeck = src
var/O = src
H.apply_card_vars(H,O)
src.cards -= choice
H.pickup(user)
user.put_in_hands(H)
user.visible_message("[user] draws a card from the deck.", "<span class='notice'>You draw a card from the deck.</span>")