Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix: save & load custom line colors in map format version less than 20 #2559

Conversation

SlySven
Copy link
Member

@SlySven SlySven commented May 23, 2019

This will close #2558 .

The bug was made in #2106 which has been present since before Mudlet 2.16.0 was released·

Signed-off-by: Stephen Lyons slysven@virginmedia.com

…an 20

This will close Mudlet#2558 .

The bug was made in Mudlet#2106 which has
been present since before Mudlet 2.16.0 was released·

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
@SlySven SlySven added this to the 3.21.0 milestone May 23, 2019
@SlySven SlySven requested a review from a team May 23, 2019 00:51
@SlySven SlySven requested a review from a team as a code owner May 23, 2019 00:51
@add-deployment-links
Copy link

add-deployment-links bot commented May 23, 2019

Hey there! Thanks for helping Mudlet improve. 🌟

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

Copy link
Member

@keneanung keneanung left a comment

Choose a reason for hiding this comment

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

Not much to check here for UI purposes.

The code changes look sensible as well.

@vadi2 vadi2 assigned SlySven and unassigned vadi2 May 29, 2019
@Kebap Kebap changed the title BugFix: save & load custom line colours in map format version less than 20 BugFix: save & load custom line colors in map format version less than 20 May 29, 2019
@SlySven
Copy link
Member Author

SlySven commented May 29, 2019

Oi @Kebap! This is my PR and my web-browser is set to spell checking in my language - you retitling it to Americanish seems a bit heavy handed... 😝

@SlySven SlySven merged commit 301d54e into Mudlet:development May 29, 2019
@SlySven SlySven deleted the BugFix_save&LoadCustomLineColoursInMapFormatVersionLessThan20 branch May 29, 2019 20:24
SlySven added a commit to SlySven/Mudlet that referenced this pull request Jul 6, 2019
Although Mudlet#2559 fixed a problem with
custom exit line colour handling, it did not do anything to fixup maps that
were generated prior to that fix being inserted into the code-base.

This PR does so by converting any missing or empty (no colour components)
to have a default RED colour.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
SlySven added a commit that referenced this pull request Jul 6, 2019
Although #2559 fixed a problem with
custom exit line colour handling, it did not do anything to fixup maps that
were generated prior to that fix being inserted into the code-base.

This PR does so by converting any missing or empty (no colour components)
to have a default RED colour.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
@SlySven SlySven restored the BugFix_save&LoadCustomLineColoursInMapFormatVersionLessThan20 branch June 22, 2020 18:01
@SlySven SlySven deleted the BugFix_save&LoadCustomLineColoursInMapFormatVersionLessThan20 branch June 22, 2020 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom exit lines change color on load
3 participants