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

Fix hard-coded default path of player file. Allow over-ride via cmdline arg.

parent 149471e5
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -2,7 +2,7 @@ load('recordfile.js'); ...@@ -2,7 +2,7 @@ load('recordfile.js');
require('recorddefs.js', 'Player_Def'); 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 i;
var pl; var pl;
for (i=0; i<pfile.length; i++) { for (i=0; i<pfile.length; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment