mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
Fixes some runtimes [IDB IGNORE] (#17194)
* Fixes some runtimes * typo * No more infinite mannequins * crash * More runtime fixes and pressure fling Makes it so you can unwrench pipes that are pressurized, at the cost of being flung back from the pipe. Higher pressure = longer distance and faster. * Fixes a memory leak and a bug
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
|
||||
/obj/item/deck/attack_hand(mob/user as mob)
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(istype(src.loc, /obj/item/storage) || src == H.r_store || src == H.l_store || src.loc == user) // so objects can be removed from storage containers or pockets. also added a catch-all, so if it's in the mob you'll pick it up.
|
||||
if(ishuman(H) && (istype(src.loc, /obj/item/storage) || src == H.r_store || src == H.l_store || src.loc == user)) // so objects can be removed from storage containers or pockets. also added a catch-all, so if it's in the mob you'll pick it up. Human only, however!
|
||||
..()
|
||||
else // but if they're not, or are in your hands, you can still draw cards.
|
||||
draw_card()
|
||||
|
||||
Reference in New Issue
Block a user