Skip to content
Snippets Groups Projects
Commit 260f8b2e authored by Rob Swindell's avatar Rob Swindell
Browse files

Fix exception: assignment to undefined variable 'ch'

parent e5ac735f
No related branches found
No related tags found
No related merge requests found
Pipeline #8703 passed
......@@ -1351,7 +1351,7 @@ menu('`r0`c `r1 `%LORD II: CONFIGURE JS `r0', true, [
lln(' the TRADER.DAT file, daily happenings, etc.');
sln('');
lw(' Do it? [`!N`2] : ');
ch = getkey().toUpperCase();
var ch = getkey().toUpperCase();
if (ch !== 'Y')
ch = 'N';
lw('`%'+ch);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment