Skip to content

Commit

Permalink
Quickequip hotfix (#8219)
Browse files Browse the repository at this point in the history
* This should work

* Update code/modules/mob/living/carbon/human/inventory.dm

---------

Co-authored-by: hyperioo <[email protected]>
  • Loading branch information
Humonitarian and hyperioo authored Jun 23, 2023
1 parent 41f63eb commit 378cb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/inventory.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This saves us from having to call add_fingerprint() any time something is put in
var/target_slot = get_quick_slot(I)
if(I.pre_equip(usr, target_slot))
return
if(!I.try_transfer(target_slot, usr))
if(!equip_to_slot_if_possible(I, target_slot, disable_warning = TRUE, redraw_mob = TRUE))
quick_equip_storage(I)
/*
if(!equip_to_appropriate_slot(I))
Expand Down

0 comments on commit 378cb9c

Please sign in to comment.