diff options
author | Patric Stout <truebrain@openttd.org> | 2021-05-12 16:31:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 16:31:31 +0200 |
commit | 56050fc96f59cef171d3b8a03ae3f3c9b83f9426 (patch) | |
tree | d4d45eef24878e2241fa6487e639ed54b9ca6303 /src/video/dedicated_v.cpp | |
parent | 3d9436bd75d2d6ff2024ac4ccacf8d6e1e730cc3 (diff) | |
download | openttd-56050fc96f59cef171d3b8a03ae3f3c9b83f9426.tar.xz |
Fix 91b8ce07: dedicated servers could no longer create screenshots (#9232)
Although most commands are not useful on a dedicated server,
screenshot commands should be dequeued.
Diffstat (limited to 'src/video/dedicated_v.cpp')
-rw-r--r-- | src/video/dedicated_v.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index e905a9d2c..a41278234 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -270,6 +270,7 @@ void VideoDriver_Dedicated::MainLoop() while (!_exit_game) { if (!_dedicated_forks) DedicatedHandleKeyInput(); + this->DrainCommandQueue(); ChangeGameSpeed(_ddc_fastforward); this->Tick(); |