fix refresh choice & battle tables + refactor loops
This commit is contained in:
parent
e7e2de9d0a
commit
719b0128ed
5 changed files with 32 additions and 35 deletions
|
|
@ -66,7 +66,7 @@ class RoundController:
|
|||
"Create forbidden",
|
||||
str(e),
|
||||
)
|
||||
else:
|
||||
if choice:
|
||||
priority_name = (
|
||||
camp.get_sector_name(choice.priority_sector_id)
|
||||
if choice.priority_sector_id is not None
|
||||
|
|
@ -124,7 +124,7 @@ class RoundController:
|
|||
"Create forbidden",
|
||||
str(e),
|
||||
)
|
||||
else:
|
||||
if battle:
|
||||
state_icon = Icons.get(IconName.ONGOING)
|
||||
if battle.is_finished():
|
||||
state_icon = Icons.get(IconName.DONE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue