...
 
......@@ -2,7 +2,7 @@ load('recordfile.js');
require('recorddefs.js', 'Player_Def');
var pfile = new RecordFile('/synchronet/sbbs/xtrn/lord/player.dat',Player_Def);
var pfile = new RecordFile(argv[0] || 'player.bin',Player_Def);
var i;
var pl;
for (i=0; i<pfile.length; i++) {
......
......@@ -16765,7 +16765,7 @@ function cmdline()
settings.menu_dir = argv[i];
}
else if (argv[i].toUpperCase() === 'RESET') {
if(!bbs || !deny("Reset LORD")) {
if(!deny("Reset LORD")) {
file_remove(gamedir('state.bin'));
file_remove(gamedir('player.bin'));
}
......