changeset 15299 | 16f389fcd462 |
parent 14917 | 63357ed39886 |
child 15667 | fb1f47e382d0 |
--- a/hedgewars/uCommandHandlers.pas Fri Jul 26 01:13:48 2019 +0200 +++ b/hedgewars/uCommandHandlers.pas Sat Jul 27 03:42:17 2019 +0200 @@ -73,6 +73,8 @@ s:= s; // avoid compiler hint if GameState = gsConfirm then begin + if (luaCmdUsed) then + SendIPC(_S'm'); SendIPC(_S'Q'); GameState:= gsExit end @@ -81,6 +83,8 @@ procedure chHalt (var s: shortstring); begin s:= s; // avoid compiler hint + if (luaCmdUsed) then + SendIPC(_S'm'); SendIPC(_S'H'); GameState:= gsExit end;