Skip to content
Snippets Groups Projects
Commit 37d0d93d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Load terrain.fnt from startup directory, not game directory

Resolves !ERROR Cannot load font \sbbs\xtrn\war\worlds\alderon\terrain.fnt!
parent ffcec7b8
No related branches found
No related tags found
No related merge requests found
......@@ -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")');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment