The Themeify PDA app no longer has an empty checkbox in its options. (#94691)

## About The Pull Request
The imported themes list was made lazy, but by adding null to a list,
you end up having a new key in that list that is null.

## Why It's Good For The Game
Fixing stuff that ArcaneMusic told me about on Discord.

## Changelog

🆑
fix: The Themeify PDA app no longer has an empty checkbox in its
options.
/🆑
This commit is contained in:
Ghom
2026-01-04 19:44:02 +01:00
committed by GitHub
parent d71fd7bfb1
commit e3c82da770
@@ -17,7 +17,10 @@
if(computer.obj_flags & EMAGGED)
data["themes"] += list(list("theme_name" = PDA_THEME_SYNDICATE_NAME, "theme_ref" = GLOB.pda_name_to_theme[PDA_THEME_SYNDICATE_NAME]))
for(var/theme_key in GLOB.default_pda_themes + imported_themes)
var/list/available_themes = GLOB.default_pda_themes.Copy()
if(imported_themes)
available_themes += imported_themes
for(var/theme_key in available_themes)
data["themes"] += list(list("theme_name" = theme_key, "theme_ref" = GLOB.pda_name_to_theme[theme_key]))
return data