mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
If the event was started externally, return
This commit is contained in:
parent
973ee1f802
commit
d53329851a
1 changed files with 3 additions and 0 deletions
|
@ -252,6 +252,9 @@ class MmCommand(Command):
|
||||||
# Wait
|
# Wait
|
||||||
await asyncio.sleep(300)
|
await asyncio.sleep(300)
|
||||||
|
|
||||||
|
if mmevent.state == "STARTED":
|
||||||
|
return
|
||||||
|
|
||||||
# Advance cycle
|
# Advance cycle
|
||||||
for mmresponse in mmevent.responses:
|
for mmresponse in mmevent.responses:
|
||||||
if mmresponse.response is None:
|
if mmresponse.response is None:
|
||||||
|
|
Loading…
Reference in a new issue