From 8bccd1a8a09792beda7876158beb147d46e82034 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 17 Sep 2019 04:51:20 +0000 Subject: [PATCH] Don't find players named X. --- xtrn/lord/lord.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xtrn/lord/lord.js b/xtrn/lord/lord.js index 1b7763dcb0..58c8663964 100644 --- a/xtrn/lord/lord.js +++ b/xtrn/lord/lord.js @@ -4798,6 +4798,8 @@ function find_player() plen = player_length(); for (i = 0; i < plen; i += 1) { op = player_get(i); + if (op.name === 'X') + continue; tname = disp_str(op.name).toUpperCase(); if (tname.indexOf(ucname) !== -1) { sln(''); -- GitLab