fix that countdown can get stuck
This commit is contained in:
		
							parent
							
								
									12273c396b
								
							
						
					
					
						commit
						f998ae1a09
					
				| 
						 | 
					@ -369,6 +369,7 @@ async def countdown(ctx: Context, timer):
 | 
				
			||||||
            ctx.countdown_timer -= 1
 | 
					            ctx.countdown_timer -= 1
 | 
				
			||||||
            await asyncio.sleep(1)
 | 
					            await asyncio.sleep(1)
 | 
				
			||||||
        ctx.notify_all(f'[Server]: GO')
 | 
					        ctx.notify_all(f'[Server]: GO')
 | 
				
			||||||
 | 
					        ctx.countdown_timer = 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async def missing(ctx: Context, client: Client, locations: list):
 | 
					async def missing(ctx: Context, client: Client, locations: list):
 | 
				
			||||||
    await ctx.send_msgs(client, [['Missing', {
 | 
					    await ctx.send_msgs(client, [['Missing', {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue