summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/highscore_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highscore_gui.cpp b/src/highscore_gui.cpp
index d6400bb6a..372e5553b 100644
--- a/src/highscore_gui.cpp
+++ b/src/highscore_gui.cpp
@@ -193,8 +193,8 @@ void ShowHighscoreTable(int difficulty, int8 ranking)
* if it was high enough */
void ShowEndGameChart()
{
- /* Dedicated server doesn't need the highscore window */
- if (_network_dedicated) return;
+ /* Dedicated server doesn't need the highscore window and neither does -v null. */
+ if (_network_dedicated || (!_networking && !IsValidCompanyID(_local_company))) return;
HideVitalWindows();
DeleteWindowByClass(WC_ENDSCREEN);