Commits (1)
...@@ -7,7 +7,7 @@ function loadSettings(path) { ...@@ -7,7 +7,7 @@ function loadSettings(path) {
if (!f.open('r')) throw 'Failed to open bullshit.ini.'; if (!f.open('r')) throw 'Failed to open bullshit.ini.';
var settings = f.iniGetObject(); var settings = f.iniGetObject();
settings.colors = f.iniGetObject('colors'); settings.colors = f.iniGetObject('colors');
settings.files = f.iniGetObject('files'); settings.files = f.iniGetObject('files') || {};
f.close(); f.close();
Object.keys(settings.colors).forEach(function (k) { Object.keys(settings.colors).forEach(function (k) {
......