Rebasing, and make eslint happy with it

This commit is contained in:
dynilath 2025-03-20 16:56:03 +08:00
parent e724cbe757
commit f61f8c297e
No known key found for this signature in database
6 changed files with 8 additions and 8 deletions

View file

@ -283,4 +283,4 @@ function PreferenceSubscreenArousalUnload() {
Player.FocusGroup = null;
CharacterAppearanceForceUpCharacter = -1;
CharacterLoadCanvas(Player);
}
}

View file

@ -89,4 +89,4 @@ function PreferenceSubscreenAudioUnload() {
if (typeof audio === 'number' && audio > 0) Player.NotificationSettings[setting].Audio = NotificationAudioType.NONE;
}
}
}
}

View file

@ -94,4 +94,4 @@ function PreferenceSubscreenCensoredWordsExit() {
function PreferenceSubscreenCensoredWordsUnload() {
ElementRemove("InputWord");
Player.ChatSettings.CensoredWordsList = PreferenceCensoredWordsList.join("|");
}
}

View file

@ -87,4 +87,4 @@ function PreferenceSubscreenControllerExit() {
function PreferenceSubscreenControllerUnload() {
ControllerStopCalibration(true);
}
}

View file

@ -201,4 +201,4 @@ function PreferenceSubscreenNotificationsUnload() {
if (enableAudio) Player.AudioSettings.Notifications = true;
NotificationReset(NotificationEventType.TEST);
}
}

View file

@ -261,7 +261,7 @@ function PreferenceExit() {
/**
* Clear all GUI data and DOM elements creates by the preference screen load function
* We don't do this in exit function for disconnects do not trigger the exit function
* We don't do this in exit function for disconnects do not trigger the exit function
*/
function PreferenceUnload() {
if (PreferenceSubscreen.name !== "Main") {
@ -274,9 +274,9 @@ function PreferenceUnload() {
*/
function PreferenceSubscreenExit() {
const validExit = PreferenceSubscreen.exit?.();
// Only when the results is false (not undefined)
// The exit is just a exit of the subscreen's substate, return to block more exit.
// The exit is just a exit of the subscreen's substate, return to block more exit.
if(validExit === false) return;
// The exit is a full exit of the subscreen, unload resources