mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] [READY] Fixes being able to use items while inside a mech (#1369)
* [READY] Fixes being able to use items while inside a mech (#54302) * [READY] Fixes being able to use items while inside a mech Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
@@ -394,8 +394,8 @@
|
||||
return obscured
|
||||
|
||||
|
||||
/obj/item/proc/equip_to_best_slot(mob/M, swap=FALSE)
|
||||
if(src != M.get_active_held_item())
|
||||
/obj/item/proc/equip_to_best_slot(mob/M, swap = FALSE, check_hand = TRUE)
|
||||
if(check_hand && src != M.get_active_held_item())
|
||||
to_chat(M, "<span class='warning'>You are not holding anything to equip!</span>")
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user