Fix runtime with rupees

This enforces the item crossing them is actually a mob
This commit is contained in:
oranges
2016-11-25 10:21:19 +13:00
committed by GitHub
parent e2ae9b5225
commit f0c636dba3
@@ -105,6 +105,8 @@
..()
/obj/item/rupee/Crossed(mob/M)
if(!istype(M))
return
if(M.put_in_hands(src))
if(src != M.get_active_held_item())
M.swap_hand()
@@ -116,4 +118,4 @@
..()
/obj/effect/landmark/error
name = "error"
name = "error"