Fix Multiworld tracker

This commit is contained in:
Fabian Dill 2021-02-01 01:57:44 +01:00
parent 77a0e6f9cf
commit 078ad30195
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ from Utils import Hint
def get_id(item_name):
return Items.item_table[item_name][3]
return Items.item_table[item_name][2]
app.jinja_env.filters["location_name"] = lambda location: Regions.lookup_id_to_name.get(location, location)
@ -233,9 +233,9 @@ for item_name, data in Items.item_table.items():
if "Key" in item_name:
area = item_name.split("(")[1][:-1]
if "Small" in item_name:
small_key_ids[area] = data[3]
small_key_ids[area] = data[2]
else:
big_key_ids[area] = data[3]
big_key_ids[area] = data[2]
from MultiServer import get_item_name_from_id