Commit c32542f4 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Load terrain.fnt from startup directory, not game directory

Resolves !ERROR Cannot load font \sbbs\xtrn\war\worlds\alderon\terrain.fnt!
parent eda5b992
......@@ -2430,7 +2430,7 @@ function main(argc, argv)
if(argc)
set_game(argv[0]);
load("loadfont.js", '-H', getpath('terrain.fnt'));
load("loadfont.js", '-H', js.startup_dir + 'terrain.fnt');
if(bbs.mods.CTerm_Version != null) {
console.write("\x1b[?31h\x1b[1;255 D");
js.on_exit('console.write("\x1b[?31l")');
......
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