Skip to content

Make macro optional#2464

Open
ike709 wants to merge 1 commit intoOpenDreamProject:masterfrom
ike709:tomacroornottomacro
Open

Make macro optional#2464
ike709 wants to merge 1 commit intoOpenDreamProject:masterfrom
ike709:tomacroornottomacro

Conversation

@ike709
Copy link
Collaborator

@ike709 ike709 commented Nov 25, 2025

Resolves #1996

I tested that this removes the exception by nuking the macro from testgame.

I did not test whether this fix requires move involved changes to the active macro set.

@boring-cyborg boring-cyborg bot added the Client Involves the OpenDream client label Nov 25, 2025
@ike709 ike709 requested a review from wixoaGit November 25, 2025 08:13

if (WindowDescriptor.IsDefault.Value) {
Macro.SetActive();
Macro?.SetActive();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would leave the previous macro set as the active one if macro is removed through winset.

I would also like to test if BYOND has a default macro set for this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client Involves the OpenDream client size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not setting macro causes an exception

2 participants