Pokemon Emerald: Fix wonder trade race condition (#2983)
This commit is contained in:
parent
4ac1866689
commit
35458380e6
|
@ -664,8 +664,10 @@ class PokemonEmeraldClient(BizHawkClient):
|
|||
"cmd": "SetNotify",
|
||||
"keys": [f"pokemon_wonder_trades_{ctx.team}"],
|
||||
}, {
|
||||
"cmd": "Get",
|
||||
"keys": [f"pokemon_wonder_trades_{ctx.team}"],
|
||||
"cmd": "Set",
|
||||
"key": f"pokemon_wonder_trades_{ctx.team}",
|
||||
"default": {"_lock": 0},
|
||||
"operations": [{"operation": "default", "value": None}] # value is ignored
|
||||
}]))
|
||||
elif cmd == "SetReply":
|
||||
if args.get("key", "") == f"pokemon_wonder_trades_{ctx.team}":
|
||||
|
|
Loading…
Reference in New Issue