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.
This commit is contained in:
Patric Stout
2021-05-12 16:31:31 +02:00
committed by GitHub
parent 3d9436bd75
commit 56050fc96f
2 changed files with 18 additions and 17 deletions

View File

@@ -270,6 +270,7 @@ void VideoDriver_Dedicated::MainLoop()
while (!_exit_game) {
if (!_dedicated_forks) DedicatedHandleKeyInput();
this->DrainCommandQueue();
ChangeGameSpeed(_ddc_fastforward);
this->Tick();