From f7dafa9bbbf630e4faa0d613f6d3067db10679d6 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sun, 11 Mar 2018 22:28:43 +0000 Subject: [PATCH] Only enable interactive console for headless --- src/openrct2/Context.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/openrct2/Context.cpp b/src/openrct2/Context.cpp index 41d9b87e74..73da2c2a67 100644 --- a/src/openrct2/Context.cpp +++ b/src/openrct2/Context.cpp @@ -630,7 +630,11 @@ namespace OpenRCT2 } #endif // DISABLE_NETWORK - _stdInOutConsole.Start(); + // For now, only allow interactive console in headless mode + if (gOpenRCT2Headless) + { + _stdInOutConsole.Start(); + } RunGameLoop(); }