Fixes BoHs

Fixes BoHs
fix https://github.com/tgstation/-tg-station/issues/17173
This commit is contained in:
Razharas
2016-04-27 21:33:36 +03:00
parent 4a622c0712
commit efa60f8587
@@ -71,7 +71,7 @@
return 0
/obj/item/weapon/storage/backpack/holding/handle_item_insertion(obj/item/W, prevent_warning = 0, mob/user)
if((istype(W, /obj/item/weapon/storage/backpack/holding) || count_by_type(GetAllContents(W), /obj/item/weapon/storage/backpack/holding)) && !W.crit_fail)
if((istype(W, /obj/item/weapon/storage/backpack/holding) || count_by_type(W.GetAllContents(), /obj/item/weapon/storage/backpack/holding)) && !W.crit_fail)
var/safety = alert(user, "Doing this will have extremely dire consequences for the station and its crew. Be sure you know what you're doing.", "Put in [name]?", "Proceed", "Abort")
if(safety == "Abort" || !in_range(src, user) || !src || !W || user.incapacitated())
return