mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Enables items to be used while ventcrawling (#37432)
* Enables items to be used while ventcrawling * dilt fix
This commit is contained in:
@@ -1047,12 +1047,12 @@ Use this proc preferably at the end of an equipment loadout
|
||||
if(istype(loc,/obj/mecha))
|
||||
return
|
||||
|
||||
if(isVentCrawling())
|
||||
to_chat(src, "<span class='danger'>Not while we're vent crawling!</span>")
|
||||
return
|
||||
|
||||
var/obj/item/W = get_held_item_by_index(active_hand)
|
||||
|
||||
if(W)
|
||||
if(isVentCrawling() && !W.vent_use)
|
||||
to_chat(src, "<span class='danger'>Not while we're vent crawling!</span>")
|
||||
return
|
||||
W.attack_self(src)
|
||||
update_inv_hand(active_hand)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user