Skip to content

Commit

Permalink
refactor: Remove mappingmode
Browse files Browse the repository at this point in the history
  • Loading branch information
BIRD authored and Gocnak committed Feb 20, 2024
1 parent 15bbaf2 commit dada64b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/pages/learn.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class Learn {
UiToolkitAPI.ShowGenericPopup(
'Learn Section - Very early alpha!',
'Welcome to the beginnings of the Learn section!\n\n' +
'Please note: for this section to work, you *MUST* launch the game with the -mapping launch option. This will change in the near future!\n\n' +
"This is in an early testing phase, with each mode's maps at differing levels of completion.\n\n" +
"They'll be being updated regularly through Steam updates, so make sure to check back in every now and then!\n\n" +
"Feedback is GREATLY appreciated, especially if you're brand new to a mode, so be sure to let us know your thoughts in the new learn channels in the Discord.\n\n" +
Expand Down Expand Up @@ -132,16 +131,6 @@ class Learn {
static startCurrentLesson() {
if (!this.currentLessonData) return;

if (!MomentumAPI.GetVersionInfo().isInMappingMode) {
UiToolkitAPI.ShowGenericPopup(
'Please launch in mapping mode!',
'Apologies for the inconvenience, but you must launch the game in -mapping mode to use the Learn section for now. Close the game, then select Momentum in your Steam library, go to Properties, and in Launch Options add -mapping. Then relaunch and this annoying popup will go away!',
''
);

return;
}

if (!this.currentLessonData['Map']) {
$.Warning(`Learn: No map specified for lesson ${this.currentLessonData['Name']}`);
return;
Expand Down

0 comments on commit dada64b

Please sign in to comment.