Skip to content
Snippets Groups Projects
Commit 67947ade 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 b3548ed7
No related branches found
No related tags found
No related merge requests found
......@@ -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++) {
......
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