Make sure best match is used to determine town location

This commit is contained in:
aeon0
2021-12-10 15:27:46 +01:00
committed by GitHub
parent 8a773f4e5c
commit ede3dcd91b
+1 -1
View File
@@ -41,7 +41,7 @@ class TownManager:
"A5_TOWN_0", "A5_TOWN_1",
"A4_TOWN_4", "A4_TOWN_5",
"A3_TOWN_0", "A3_TOWN_1"
], time_out=time_out)
], best_match=True, time_out=time_out)
if template_match.valid:
return TownManager.get_act_from_location(template_match.name)
return None