mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Fix Loadout Sound Spam (#21589)
This PR fixes a literally 12 year old bug, by making it so that roundstart loadout items no longer spam the world with their on_equip sounds. I have not however found the cause for the backpack sounds though. That one is significantly harder to locate. https://github.com/user-attachments/assets/54fbeada-d685-4c15-8383-d197ecf26363
This commit is contained in:
@@ -72,10 +72,10 @@
|
||||
* * item_to_equip - An `/obj/item` to try to equip
|
||||
* * slot - The slot to equip it to, one of the `slot_*` defines in `code\__DEFINES\items_clothing.dm`
|
||||
*/
|
||||
/mob/proc/equip_to_slot_or_del(obj/item/item_to_equip, slot)
|
||||
/mob/proc/equip_to_slot_or_del(obj/item/item_to_equip, slot, initial = TRUE)
|
||||
SHOULD_NOT_SLEEP(TRUE)
|
||||
|
||||
. = equip_to_slot_if_possible(item_to_equip, slot, TRUE, TRUE, FALSE, TRUE)
|
||||
. = equip_to_slot_if_possible(item_to_equip, slot, TRUE, TRUE, FALSE, TRUE, initial)
|
||||
|
||||
// Convinience proc. Collects crap that fails to equip either onto the mob's back, or drops it.
|
||||
// Used in job equipping so shit doesn't pile up at the start loc.
|
||||
|
||||
Reference in New Issue
Block a user