Pokemon Emerald: Prevent client from spamming goal status update (#3900)
This commit is contained in:
		
							parent
							
								
									b982e9ebb4
								
							
						
					
					
						commit
						d1a7bc66e6
					
				| 
						 | 
				
			
			@ -352,6 +352,7 @@ class PokemonEmeraldClient(BizHawkClient):
 | 
			
		|||
 | 
			
		||||
            # Send game clear
 | 
			
		||||
            if not ctx.finished_game and game_clear:
 | 
			
		||||
                ctx.finished_game = True
 | 
			
		||||
                await ctx.send_msgs([{
 | 
			
		||||
                    "cmd": "StatusUpdate",
 | 
			
		||||
                    "status": ClientStatus.CLIENT_GOAL,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue