mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[NO GBP] Fixes cultists, blood brothers and headrevs sometimes not getting their roundstart items (#91333)
## About The Pull Request Didn't notice that equip_in_one_of_slots qdeleted by default Closes #91288 ## Changelog 🆑 fix: Fixed cultists, blood brothers and headrevs sometimes not getting their roundstart items /🆑
This commit is contained in:
@@ -576,7 +576,7 @@
|
||||
/// del_on_fail - delete the item upon failure
|
||||
/mob/proc/equip_to_storage(obj/item/item, slot, indirect_action = FALSE, del_on_fail = FALSE, initial = FALSE)
|
||||
var/obj/item/worn_item = get_item_by_slot(slot)
|
||||
if (worn_item?.atom_storage?.attempt_insert(item, src, override = TRUE, force = indirect_action ? STORAGE_SOFT_LOCKED : STORAGE_NOT_LOCKED))
|
||||
if (worn_item?.atom_storage?.attempt_insert(item, src, override = TRUE, force = indirect_action ? STORAGE_SOFT_LOCKED : STORAGE_NOT_LOCKED, messages = FALSE))
|
||||
return TRUE
|
||||
|
||||
if (del_on_fail)
|
||||
|
||||
Reference in New Issue
Block a user