This commit is contained in:
Johannes Mockenhaupt 2017-07-17 18:59:06 +02:00
parent b4950b3037
commit bd14b399d5
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -188,7 +188,8 @@ public class RuffyScripter {
return; return;
} }
} }
// don't execute anything if STOP menu is shown (pump is noisy already and user is probably changing the cartridge) // don't execute anything if STOP menu is shown (pump is noisy already and user is probably changing the cartridge),
// just return state, including the suspended flag
if (currentMenu == null || currentMenu.getType() == MenuType.STOP) { if (currentMenu == null || currentMenu.getType() == MenuType.STOP) {
returnable.cmdResult = new CommandResult().success(true).enacted(false); returnable.cmdResult = new CommandResult().success(true).enacted(false);
return; return;