detect and resolve battle tie with influence_token
This commit is contained in:
parent
115ddf8d50
commit
818d2886f4
23 changed files with 808 additions and 172 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from __future__ import annotations
|
||||
from typing import Callable, List
|
||||
from typing import Callable, List, Dict
|
||||
from pathlib import Path
|
||||
import calendar
|
||||
|
||||
|
|
@ -288,7 +288,7 @@ class View(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||
if item is not None and walk(item):
|
||||
return
|
||||
|
||||
def get_selected_tree_item(self) -> dict[str, str] | None:
|
||||
def get_selected_tree_item(self) -> Dict[str, str] | None:
|
||||
item = self.warsTree.currentItem()
|
||||
if not item:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue