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

Remove GMS 2.3 checks for profile mode and GMS 2.3 warning upon loading #1000

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

Grossley
Copy link
Collaborator

Remove GMS 2.3 checks for profile mode and GMS 2.3 warning upon loading

Description

Remove GMS 2.3 checks for profile mode and GMS 2.3 warning upon loading.

Caveats

I might have missed some checks for profile mode, and there may or may not be reason for that GMS 2.3 warning to still exist.

Notes

Long overdue, similar warnings need to be removed from the scripts.

Remove GMS 2.3 checks for profile mode and GMS 2.3 warning upon loading
Comment on lines +968 to +971
/*if (data.GMS2_3 && SettingsWindow.Warn_About_GMS23)
{
this.ShowWarning("This game was built using GameMaker Studio 2.3 (or above). Support for this version is a work in progress, and you will likely run into issues decompiling code or in other places.", "GMS 2.3");
}
}*/
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be removed, not commented out.
Also, if you want to remove the GMS2.3 warning, you should also probably nuke that from the settings as well, as I don't think Warn_About_GMS23 is used anywhere else.

@@ -113,7 +113,7 @@ public void ReplaceTextInGML(UndertaleCode code, string keyword, string replacem
string codeName = code.Name.Content;
GlobalDecompileContext DECOMPILE_CONTEXT = context is null ? new(Data, false) : context;

if (Data.ToolInfo.ProfileMode == false || Data.GMS2_3)
if (Data.ToolInfo.ProfileMode == false)
Copy link
Contributor

Choose a reason for hiding this comment

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

You can reduce this to if (!Data.ToolInfo.ProfileMode)

Comment on lines +233 to +238
/* if (data.GMS2_3)
{
this.ShowWarning("Profile mode is not currently supported for GameMaker Studio 2.3 games.");
return;
}

*/
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be removed, not commented out.

@VladiStep
Copy link
Member

VladiStep commented Jun 25, 2022

Besides what @Miepee has noticed, I don't see any issues.

@Grossley Grossley closed this Jun 27, 2022
@Grossley Grossley reopened this Jun 27, 2022
@Grossley Grossley merged commit 6b94f6b into master Jun 27, 2022
@Grossley Grossley deleted the no-more-2.3-warnings-profile-mode branch June 27, 2022 16:46
@Grossley Grossley restored the no-more-2.3-warnings-profile-mode branch June 27, 2022 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants