Skip to content

Fix icon constructor directions - #2698

Merged
wixoaGit merged 1 commit into
OpenDreamProject:masterfrom
DamianX:icon-constructor-direction
Aug 13, 2026
Merged

Fix icon constructor directions#2698
wixoaGit merged 1 commit into
OpenDreamProject:masterfrom
DamianX:icon-constructor-direction

Conversation

@DamianX

@DamianX DamianX commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Before:
image
After:
image

Fixes creating an /icon from an existing /icon when dir - or other vars - are supplied to the constructor.

Previously, icon(source, dir = WEST) copied the source unchanged, so the resulting DMI retained all directions. Now we produce an icon with a single SOUTH direction, produced from the original WEST icon.

@boring-cyborg boring-cyborg Bot added the Runtime Involves the OpenDream server/runtime label Aug 13, 2026
@wixoaGit
wixoaGit merged commit 133e242 into OpenDreamProject:master Aug 13, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Runtime Involves the OpenDream server/runtime size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants