THE GREAT BOTTENING
This commit is contained in:
parent
1c6d6d8b28
commit
0ce64231c7
|
@ -352,7 +352,7 @@ class Manager:
|
||||||
async def animator(self):
|
async def animator(self):
|
||||||
while True:
|
while True:
|
||||||
for animation in self.animations:
|
for animation in self.animations:
|
||||||
frame = int(time.time() / animation.spf) % len(
|
frame = int(time.time() / animation.spf + animation.offset) % len(
|
||||||
animation.frames
|
animation.frames
|
||||||
)
|
)
|
||||||
self.put_image(
|
self.put_image(
|
||||||
|
|
|
@ -50,8 +50,8 @@
|
||||||
"path": "../pictures/non-reflection.gif",
|
"path": "../pictures/non-reflection.gif",
|
||||||
"x": 300,
|
"x": 300,
|
||||||
"y": 40,
|
"y": 40,
|
||||||
"spf": 15,
|
"spf": 5,
|
||||||
"offset": -408
|
"offset": -467
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "animation",
|
"type": "animation",
|
||||||
|
|
|
@ -73,6 +73,8 @@ class WorkerManager:
|
||||||
cookie = bot_index, self._restarts[bot_index]
|
cookie = bot_index, self._restarts[bot_index]
|
||||||
self.workers.add(cookie)
|
self.workers.add(cookie)
|
||||||
|
|
||||||
|
await sio.send("unsubscribe")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
batch = 0
|
batch = 0
|
||||||
while sio.connected:
|
while sio.connected:
|
||||||
|
|
Loading…
Reference in New Issue