mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-18 21:15:21 +00:00
* Fixes chem and addiction scans, null checks for addiction_list (#55105) So #54797 changed addiction_list to instantiate as a null instead of a list. Turns out a few things relied on the list existing! Things like health analyser/medical kiosk chem and addiction scans broke, and smokers would no longer get addicted! Made a few places check if addiction_list is null before continuing. (Lemon's note, refactored some code to make it cleaner/removed some unneeded loop typechecks) * Fixes chem and addiction scans, null checks for addiction_list Co-authored-by: prodirus <44090982+prodirus@users.noreply.github.com>