diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-08-18 18:35:09 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-08-18 18:35:09 +0300 |
commit | c8249f9eda83157b1d5504d74bc560646acb4be1 (patch) | |
tree | b9f9f2b57937e420ad87fb7be1522ec9f74ade73 /lib | |
parent | 783268a166670b6645f194fecb0476feab911246 (diff) |
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Model/Runner.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Model/Runner.php b/lib/Model/Runner.php index b29be19..632c3df 100644 --- a/lib/Model/Runner.php +++ b/lib/Model/Runner.php @@ -155,19 +155,18 @@ class Runner { if ($this->oldAction !== $action || $force) { while (true) { if (!$this->isPaused()) { - $this->pauseRunning(false); break; } $this->pauseRunning(true); $pressed = strtolower($this->updateAction('')); if ($pressed === $this->keys['nextStep']) { - $this->pauseRunning(false); break; } usleep(300000); } + $this->pauseRunning(false); $this->newAction($action); } |