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 <noreply@anthropic.com>
This commit is contained in:
Frank
2026-08-16 17:56:04 +02:00
co-authored by Claude Sonnet 5
parent ebd2f68df6
commit 2bda70b32b
+1 -1
View File
@@ -378,7 +378,7 @@ document.addEventListener('DOMContentLoaded', async () => {
let messages = [ let messages = [
['System initializing...', 500], ['System initializing...', 500],
['Connection established.', 200], ['Connection established.', 200],
['Welcome agent to the mainframe.', 1000], ['Welcome agent ' + screen + ' to the mainframe.', 1000],
['Scanning...', 3000], ['Scanning...', 3000],
['Virus detected.', 500], ['Virus detected.', 500],
['Starting Mainframe help modus...', 2000], ['Starting Mainframe help modus...', 2000],