From 2d3b973332f48c0736985d4de885fc2c79df03f9 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Mon, 14 Feb 2022 11:05:53 -0800 Subject: [PATCH] Address !JavaScript lord.js line 5835: TypeError: op is null I think this means one of your nodeon.* files are corrupt and just deleting that file would likely cure the situation as well. --- xtrn/lord/lord.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xtrn/lord/lord.js b/xtrn/lord/lord.js index 7936f6b1d9..af27b95b90 100644 --- a/xtrn/lord/lord.js +++ b/xtrn/lord/lord.js @@ -5832,8 +5832,10 @@ function hello() tmp = parseInt(tmp, 10); if (tmp !== player.Record) { op = player_get(tmp); - op.on_now = false; - op.put(false); + if (op !== null) { + op.on_now = false; + op.put(false); + } } } no.close(); -- GitLab