From 2bda70b32bf9e56204045133ed342f4d3e2b8457 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 16 Aug 2026 17:56:04 +0200 Subject: [PATCH] Fix missing player number in mainframe welcome message Welcome agent ' + + ' to the mainframe.' had a stray += with nothing between them, evaluating to NaN. Plugs in the screen variable that was already sitting in scope right above it. Co-Authored-By: Claude Sonnet 5 --- assets/game1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/game1.js b/assets/game1.js index a0edbb7..b02d800 100644 --- a/assets/game1.js +++ b/assets/game1.js @@ -378,7 +378,7 @@ document.addEventListener('DOMContentLoaded', async () => { let messages = [ ['System initializing...', 500], ['Connection established.', 200], - ['Welcome agent to the mainframe.', 1000], + ['Welcome agent ' + screen + ' to the mainframe.', 1000], ['Scanning...', 3000], ['Virus detected.', 500], ['Starting Mainframe help modus...', 2000],