Skip to content

Commit

Permalink
remove assist units due to squad change in 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroRin committed Oct 28, 2023
1 parent 87e4218 commit 415e7bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,8 @@ def execute(self):

self.assist_units = (
[]
if self.var_perfect.get()
else commander.get_assist_unit(self.var_stage.get())
# if self.var_perfect.get()
# else commander.get_assist_unit(self.var_stage.get())
)
self.g_records, self.u_records = commander.solve(
theater_id=self.var_stage.get(),
Expand All @@ -463,7 +463,7 @@ def execute(self):
total_score = (
0
+ sum([r["score"] for r in self.g_records])
+ sum([i[1] for i in self.assist_units])
# + sum([i[1] for i in self.assist_units])
)
self.lbl_total_score.config(text=_("总效能:") + f"{total_score:>6}")
self.lbl_assist.config(
Expand Down

0 comments on commit 415e7bb

Please sign in to comment.