1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

🔧 Make PDA run a loop cycle after putting a bullet in the dispenser

This commit is contained in:
Steffo 2021-01-10 20:07:23 +01:00
parent 0f2986b53b
commit 755157d3a9
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -110,6 +110,9 @@ class ConsolePDA:
log.debug(f"Putting bullet {bullet!r} in dispenser {self.dispenser!r}...")
await self.dispenser.put(bullet)
log.debug("Awaiting another loop cycle")
await asyncio.sleep(0)
# Objects exported by this module
__all__ = (