From d8d694f27d3eaae3e74034f763e991f447a81120 Mon Sep 17 00:00:00 2001 From: BingusSS13 Date: Wed, 25 Dec 2024 17:46:22 -0600 Subject: [PATCH] fuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuck --- code/modules/mob_spawn/mob_spawn.dm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/code/modules/mob_spawn/mob_spawn.dm b/code/modules/mob_spawn/mob_spawn.dm index 690a36e5455c..6c7060f227c9 100644 --- a/code/modules/mob_spawn/mob_spawn.dm +++ b/code/modules/mob_spawn/mob_spawn.dm @@ -256,8 +256,14 @@ . = ..() //MONKESTATION EDIT - Check if we are using preferences. if(use_prefs && mob_possessor) - mob_possessor.client.prefs.safe_transfer_prefs_to(spawned_mob) - SSquirks.AssignQuirks(spawned_mob, mob_possessor.client) + var/mob/living/carbon/human/spawned_mob1 = spawned_mob + mob_possessor.client.prefs.safe_transfer_prefs_to(spawned_mob1) + spawned_mob1.equip_outfit_and_loadout(outfit, mob_possessor.client.prefs) + for(var/datum/loadout_item/item as anything in loadout_list_to_datums(mob_possessor.client?.prefs?.loadout_list)) + if(length(item.restricted_roles)) + continue + item.post_equip_item(mob_possessor.client.prefs, mob_possessor) + SSquirks.AssignQuirks(spawned_mob1, mob_possessor.client) //END OF EDIT if(mob_possessor) if(mob_possessor.mind)