Skip to content

Commit

Permalink
Remove unneeded await
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Jan 31, 2024
1 parent a08b587 commit cd0c8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/sc2/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ async def on_step(self, iteration: int):

if self.last_received_update < len(self.ctx.items_received):
current_items = calculate_items(self.ctx)
missions_beaten = await self.missions_beaten_count()
missions_beaten = self.missions_beaten_count()
kerrigan_level = get_kerrigan_level(self.ctx, current_items, missions_beaten)
await self.updateTerranTech(current_items)
await self.updateZergTech(current_items, kerrigan_level)
Expand Down

0 comments on commit cd0c8b0

Please sign in to comment.