From 65d16b87b34585fa4074b1e11923a0faf970b092 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Sat, 22 Mar 2025 23:35:06 -0400
Subject: [PATCH] Don't try to upper-case a function

Reported by Digitalman
---
 xtrn/lord2/l2cfg.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xtrn/lord2/l2cfg.js b/xtrn/lord2/l2cfg.js
index ef485c2b19..8b603e863b 100644
--- a/xtrn/lord2/l2cfg.js
+++ b/xtrn/lord2/l2cfg.js
@@ -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();
+		ch = getkey().toUpperCase();
 		if (ch !== 'Y')
 			ch = 'N';
 		lw('`%'+ch);
-- 
GitLab