mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Fix runtime with rupees
This enforces the item crossing them is actually a mob
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user