I am trying to add a song during the login screen, in the map field, I added this
"main": "mainMenu", //add this line
"Lioneye's Watch": "rogue_encampment",
however, when I do console log in readJsonFile() it prints this
map:
{ main: 'mainMenu', //missing quote in the key
'Lioneye\'s Watch': 'rogue_encampment',
'The Twilight Strand': 'options',
hence, the getTrack() will always return false.
Is this error caused by string handling in Windows?
Sorry I made a careless observation, turns out the worldAreas is still pointing from default.js
Once I assign it to updated WorldAreas.json it can work
Hi,
I am trying to add a song during the login screen, in the map field, I added this "main": "mainMenu", //add this line "Lioneye's Watch": "rogue_encampment",
however, when I do console log in readJsonFile() it prints this map: { main: 'mainMenu', //missing quote in the key 'Lioneye\'s Watch': 'rogue_encampment', 'The Twilight Strand': 'options', hence, the getTrack() will always return false.
Is this error caused by string handling in Windows?