Commit 149471e5 authored by Rob Swindell's avatar Rob Swindell 💬

Fix failure to run RESET via jsexec ('bbs' not defined).

parent 35e43060
......@@ -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'));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment