mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Add test locations to region
This commit is contained in:

committed by
Fabian Dill

parent
39869bcdc5
commit
461961c3be
@@ -30,7 +30,9 @@ def generate_locations(count: int, player_id: int, address: int = None, region:
|
||||
locations = []
|
||||
for i in range(count):
|
||||
name = "player" + str(player_id) + "_location" + str(i)
|
||||
locations.append(Location(player_id, name, address, region))
|
||||
location = Location(player_id, name, address, region)
|
||||
locations.append(location)
|
||||
region.locations.append(location)
|
||||
return locations
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user