fix items not being placed on bosses

bosses were considered unreachable when LimitArea was in effect because
they don't have a sector identifier (e.g. "S2") in their names.

this also affected non-boss things like the "Pump Control". now the
randomizer can actually require you to lower the water!
boss-fix
magical 2024-02-05 20:30:46 -08:00
parent ed0a382cbe
commit cbb85e3baa
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class Game:
continue
if point in path:
continue
if LimitArea:
if LimitArea and point != end:
for area in range(0, 7):
if 'S{}'.format(area) in start:
if 'S{}'.format(area) not in point: