refacto file and class names
This commit is contained in:
parent
3d0d7874e3
commit
956fa63c0b
12 changed files with 126 additions and 126 deletions
|
|
@ -193,7 +193,7 @@ class Round:
|
|||
victory_condition: str | None,
|
||||
comment: str | None,
|
||||
) -> None:
|
||||
from warchron.model.tie_manager import TieResolver
|
||||
from warchron.model.tiebreaking import TieBreaker
|
||||
|
||||
if self.is_over:
|
||||
raise ForbiddenOperation("Can't update battle in a closed round.")
|
||||
|
|
@ -227,7 +227,7 @@ class Round:
|
|||
if (
|
||||
player
|
||||
and self.has_choice_with_participant(player)
|
||||
and TieResolver.participant_spent_token(
|
||||
and TieBreaker.participant_spent_token(
|
||||
self.war,
|
||||
ContextType.CHOICE,
|
||||
self.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue