Merge pull request #27829 from Skyrat-SS13/upstream-merge-83378

[MIRROR] Fix smoker quirk preferences
This commit is contained in:
SpaceLoveSs13
2024-05-23 23:05:58 +05:30
committed by GitHub
2 changed files with 7 additions and 1 deletions
@@ -4,6 +4,12 @@
. -= addiction
.[addiction::name] = addiction
/proc/setup_smoker_addictions(list/possible_addictions)
. = possible_addictions
for(var/obj/item/storage/addiction as anything in .)
. -= addiction
.[format_text(addiction::name)] = addiction // Format text to remove \improper used in cigarette packs
/datum/preference/choiced/junkie
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
savefile_key = "junkie"