From 09b8e5f106ef01367cad366d1c4425b51d867c49 Mon Sep 17 00:00:00 2001 From: LatoWolf <43667063+dannylin0711@users.noreply.github.com> Date: Mon, 4 Apr 2022 16:52:40 +0800 Subject: [PATCH 1/4] idiot fix --- sdvx@asphyxia/handlers/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdvx@asphyxia/handlers/common.ts b/sdvx@asphyxia/handlers/common.ts index 574d743..e9c1ac2 100644 --- a/sdvx@asphyxia/handlers/common.ts +++ b/sdvx@asphyxia/handlers/common.ts @@ -39,7 +39,7 @@ export const common: EPR = async (info, data, send) => { } case 'sv6_common': { //events = EVENT6; - EVENT6.forEach(val => events.push(Object.assign({}, val)); + EVENT6.forEach(val => events.push(Object.assign({}, val))); courses = COURSES6; EXTENDS6.forEach(val => extend.push(Object.assign({}, val))); break; From 5730dfa5442f50ea791e48afc3022c9bb5383b99 Mon Sep 17 00:00:00 2001 From: LatoWolf <43667063+dannylin0711@users.noreply.github.com> Date: Mon, 4 Apr 2022 16:54:22 +0800 Subject: [PATCH 2/4] fix 2 --- sdvx@asphyxia/handlers/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdvx@asphyxia/handlers/common.ts b/sdvx@asphyxia/handlers/common.ts index e9c1ac2..9c5235f 100644 --- a/sdvx@asphyxia/handlers/common.ts +++ b/sdvx@asphyxia/handlers/common.ts @@ -39,7 +39,7 @@ export const common: EPR = async (info, data, send) => { } case 'sv6_common': { //events = EVENT6; - EVENT6.forEach(val => events.push(Object.assign({}, val))); + EVENT6.forEach(val => events.push(val); courses = COURSES6; EXTENDS6.forEach(val => extend.push(Object.assign({}, val))); break; From 9448915ab731df86bc1f77ef340b113fa604090d Mon Sep 17 00:00:00 2001 From: dannylin0711 Date: Mon, 4 Apr 2022 17:12:05 +0800 Subject: [PATCH 3/4] fix 3 --- sdvx@asphyxia/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sdvx@asphyxia/index.ts b/sdvx@asphyxia/index.ts index f255a2c..dcf972d 100644 --- a/sdvx@asphyxia/index.ts +++ b/sdvx@asphyxia/index.ts @@ -28,9 +28,8 @@ export function register() { R.Config('use_information' ,{ type: 'boolean', default: true, name:'Use Information', desc:'Enable the information section after entry.'}); R.Config('use_asphyxia_gameover',{ type: 'boolean', default: true, name:'Use Asphyxia Gameover', desc:'Enable the Asphyxia gameover message after ending the game.'}) R.Config('use_blasterpass',{ type: 'boolean', default: true, name:'Use Blaster Pass', desc:'Enable Blaster Pass for VW and EG'}); - - R.Config('other_instance_ip',{type:'string', default:'', name:'Other Instance IP', desc:'The IP of another instance of the server. This is used to get Hiscore if you\'re running multiple instances.Seperate IPs with commas.'}); - + R.Config('new_year_special',{ type: 'boolean', default: true, name:'Use New Year Special', desc:'Enable New Year Special BGM for login'}); + R.WebUIEvent('updateProfile', updateProfile); R.WebUIEvent('updateMix', updateMix); R.WebUIEvent('importMix', importMix); From 369297131fd12a07291d68b66640c2ac56d9b47a Mon Sep 17 00:00:00 2001 From: dannylin0711 Date: Mon, 4 Apr 2022 17:25:32 +0800 Subject: [PATCH 4/4] fix 4 --- sdvx@asphyxia/handlers/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdvx@asphyxia/handlers/common.ts b/sdvx@asphyxia/handlers/common.ts index 9c5235f..07df291 100644 --- a/sdvx@asphyxia/handlers/common.ts +++ b/sdvx@asphyxia/handlers/common.ts @@ -39,7 +39,7 @@ export const common: EPR = async (info, data, send) => { } case 'sv6_common': { //events = EVENT6; - EVENT6.forEach(val => events.push(val); + EVENT6.forEach(val => events.push(val)); courses = COURSES6; EXTENDS6.forEach(val => extend.push(Object.assign({}, val))); break;