diff --git a/config/params.ini b/config/params.ini index 324d033..ce29357 100644 --- a/config/params.ini +++ b/config/params.ini @@ -20,7 +20,7 @@ ; If you chicken/die repeatedly, drop to Nightmare first. difficulty=hell ; name: bot profile name used in logs/messages and mod launch option replacement -name=fistman +name=profile1 ; randomize_runs: 0 = run in listed order, 1 = shuffle run order randomize_runs=0 ; target_tz: target Terror Zone id (leave as default unless you know the mapping) diff --git a/src/ui/character_select.py b/src/ui/character_select.py index 9286b58..c9894c4 100644 --- a/src/ui/character_select.py +++ b/src/ui/character_select.py @@ -236,7 +236,7 @@ def _select_char_by_ocr(char_name: str) -> bool: if result and result[0].text: detected = result[0].text.strip().lower() Logger.debug(f"Row {row}: OCR detected '{detected}'") - # OCR mangles names badly ('fistman' reads as 'fabiman'), so + # OCR mangles names badly ('profile1' reads as 'pro1file1'), so # fuzzy-match the first word of the row against the char name. import difflib first_line = detected.splitlines()[0].strip() if detected else ""