diff --git a/worlds/yachtdice/Locations.py b/worlds/yachtdice/Locations.py index 2230b34082..ce24f0d39d 100644 --- a/worlds/yachtdice/Locations.py +++ b/worlds/yachtdice/Locations.py @@ -23,10 +23,7 @@ starting_index = 16871244500 # 500 more than the starting index for items # Function that is called when this file is loaded, which loads in ALL possible locations, score 1 to 1000 def all_locations_fun(max_score): - location_table = {} - for i in range(max_score + 1): - location_table[f"{i} score"] = LocData(starting_index + i, "Board", i) - return location_table + return {f"{i} score": LocData(starting_index + i, "Board", i) for i in range(max_score + 1)} # function that loads in all locations necessary for the game, so based on options.