Skip to content

Conversation

@wixoaGit
Copy link
Member

A DMF or winset with duplicate keys will use the last value. This fixes dark mode in Nebula, since their winsets define each attribute twice:

winset(src, "output", "background-color = none;background-color = [COLOR_DARKMODE_DARKBACKGROUND]")
winset(src, "output", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")

I also changed some of the more spammy console logs to be Verbose.

@boring-cyborg boring-cyborg bot added Client Involves the OpenDream client Runtime Involves the OpenDream server/runtime labels Nov 25, 2025
@wixoaGit wixoaGit merged commit b42b084 into OpenDreamProject:master Nov 25, 2025
19 checks passed
@wixoaGit wixoaGit deleted the allow_duplicate_dmf_attributes branch November 25, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client Involves the OpenDream client Runtime Involves the OpenDream server/runtime size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant