mirror of
https://github.com/Lorenzooone/PokemonGB_Online_Trades.git
synced 2026-03-21 18:04:50 -05:00
Properly fix the success hangup
This commit is contained in:
parent
c017b6b3f9
commit
c05859808a
|
|
@ -893,7 +893,7 @@ class GSCTrading:
|
|||
self.check_reset_trade(to_server)
|
||||
|
||||
# Conclude the trade successfully
|
||||
next = self.wait_for_success(next)
|
||||
success_result = self.wait_for_success(next)
|
||||
|
||||
# Send it to the other player
|
||||
self.verbose_print(GSCTradingStrings.success_send_str)
|
||||
|
|
@ -904,8 +904,8 @@ class GSCTrading:
|
|||
self.force_receive(self.comms.get_success)
|
||||
|
||||
trade_completed = True
|
||||
next = self.swap_byte(next)
|
||||
next = self.wait_for_no_data(next, received_choice)
|
||||
next = self.swap_byte(success_result)
|
||||
next = self.wait_for_no_data(next, success_result)
|
||||
next = self.wait_for_no_input(next)
|
||||
self.verbose_print(GSCTradingStrings.restart_trade_str)
|
||||
self.exit_or_new = False
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user