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