Merge pull request #38 from dannylin0711/stable

Fix something
This commit is contained in:
Freddie Wang 2022-04-05 20:47:15 +08:00 committed by GitHub
commit 0773375713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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);