diff --git a/xtrn/lord2/cnw/felicity.ref b/xtrn/lord2/cnw/felicity.ref index 7f1e683a85bf8fe0f047b6c5d0419f5c764d01a5..7aa7b82a7c2ee21633dd95c3e302ec457fb1c1c2 100644 --- a/xtrn/lord2/cnw/felicity.ref +++ b/xtrn/lord2/cnw/felicity.ref @@ -763,6 +763,8 @@ Leave A New Message Do Nothing @if responce is 1 then do begin @begin + @do `s04 is nil + @do `s05 is nil @readfile felnote.txt `s04 `s05 diff --git a/xtrn/lord2/lord2.js b/xtrn/lord2/lord2.js index cb0eda0c4fa2fe999bdef2c1d51574268f5f5f9f..64aae26c807c1d654b0511e2362f825fa5dc5092 100644 --- a/xtrn/lord2/lord2.js +++ b/xtrn/lord2/lord2.js @@ -1574,13 +1574,9 @@ function insane_run_ref(sec, fname, refret) } f.close(); } - else - throw new Error('@readfile unable to open '+f.name); - // Documentation says it won't change variables if file too short... - // By felicity.ref ends up displaying junk... - //while (vs.length) { - // setvar(vs.shift(), ''); - //} + // Per felicity.ref, it's not an error to read past end, and + // variables keep previous value... which did print junk, but + // has been fixed. }, 'restorecursor':function(args) { dk.console.gotoxy(saved_cursor.x, saved_cursor.y);