Merge pull request #16873 from PacifistDalek/ghost-deck-of-cards

Ghosts can no longer shuffle cards
This commit is contained in:
variableundefined
2021-10-17 13:47:26 -05:00
committed by GitHub
+6 -5
View File
@@ -200,11 +200,12 @@
deckshuffle()
/obj/item/deck/verb/verb_shuffle()
set category = "Object"
set name = "Shuffle"
set desc = "Shuffle the cards in the deck."
set src in view(1)
deckshuffle()
if(!isobserver(usr))
set category = "Object"
set name = "Shuffle"
set desc = "Shuffle the cards in the deck."
set src in view(1)
deckshuffle()
/obj/item/deck/proc/deckshuffle()
var/mob/living/user = usr