mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
fix augments not applying (#7393)
This commit is contained in:
@@ -3027,7 +3027,7 @@ GLOBAL_LIST_INIT(food, list(
|
||||
apply_prefs_to(character, icon_updates)
|
||||
|
||||
/// Applies the given preferences to a human mob.
|
||||
/datum/preferences/proc/apply_prefs_to(mob/living/carbon/human/character, icon_updates = TRUE)
|
||||
/datum/preferences/proc/apply_prefs_to(mob/living/carbon/human/character, icon_updates = TRUE, preview = FALSE)
|
||||
character.real_name = real_name
|
||||
character.name = real_name
|
||||
|
||||
@@ -3085,7 +3085,7 @@ GLOBAL_LIST_INIT(food, list(
|
||||
if(length(augments))
|
||||
for(var/key in augments)
|
||||
var/datum/augment_item/aug = GLOB.augment_items[augments[key]]
|
||||
aug.apply(character, TRUE, src)
|
||||
aug.apply(character, preview, src)
|
||||
|
||||
if(icon_updates)
|
||||
character.update_body()
|
||||
|
||||
+1
-1
@@ -153,7 +153,7 @@
|
||||
|
||||
// Set up the dummy for its photoshoot
|
||||
var/mob/living/carbon/human/dummy/mannequin = generate_or_wait_for_human_dummy(DUMMY_HUMAN_SLOT_PREFERENCES)
|
||||
apply_prefs_to(mannequin, TRUE)
|
||||
apply_prefs_to(mannequin, TRUE, TRUE)
|
||||
|
||||
switch(preview_pref)
|
||||
if(PREVIEW_PREF_JOB)
|
||||
|
||||
Reference in New Issue
Block a user