Commit 8247b472 authored by Rob Swindell's avatar Rob Swindell 💬

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

parent 149471e5
......@@ -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++) {
......
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