summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 1fce1f3a8..bc92416b6 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3031,6 +3031,10 @@ void UpdateWindows()
w->ProcessHighlightedInvalidations();
}
+ /* Skip the actual drawing on dedicated servers without screen.
+ * But still empty the invalidation queues above. */
+ if (_network_dedicated) return;
+
static int we4_timer = 0;
int t = we4_timer + 1;