mirror of
https://github.com/Lorenzooone/PokemonGB_Online_Trades.git
synced 2026-04-26 08:18:52 -05:00
Prevent issue with resetting too soon
This commit is contained in:
parent
7c11747bef
commit
7d521bbdaf
|
|
@ -518,8 +518,6 @@ class RSESPTrading(GSCTrading):
|
|||
|
||||
if not self.is_choice_decline(received_accepted, 1) and not self.is_choice_decline(accepted, 1):
|
||||
|
||||
self.comms.reset_big_trading_data()
|
||||
self.reset_trade()
|
||||
for i in range(7):
|
||||
# Conclude the trade successfully
|
||||
success_result = self.wait_for_success(0, i)
|
||||
|
|
@ -534,6 +532,8 @@ class RSESPTrading(GSCTrading):
|
|||
trade_completed = True
|
||||
self.verbose_print(GSCTradingStrings.restart_trade_str)
|
||||
self.exit_or_new = True
|
||||
self.comms.reset_big_trading_data()
|
||||
self.reset_trade()
|
||||
if(self.has_failed(success_result) or self.has_failed(received_success)):
|
||||
return True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user