File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ def generate_early(self) -> None:
155
155
self .starting_portals .append ("Searing Crags Portal" )
156
156
portals_to_strip = [portal for portal in ["Riviere Turquoise Portal" , "Sunken Shrine Portal" ]
157
157
if portal in self .starting_portals ]
158
- self .starting_portals .remove (self .random .choice (portals_to_strip ))
158
+ if portals_to_strip :
159
+ self .starting_portals .remove (self .random .choice (portals_to_strip ))
159
160
160
161
self .filler = FILLER .copy ()
161
162
if self .options .traps :
Original file line number Diff line number Diff line change 4
4
5
5
6
6
class PortalTestBase (MessengerTestBase ):
7
+ options = {
8
+ "available_portals" : 3 ,
9
+ }
10
+
7
11
def test_portal_reqs (self ) -> None :
8
12
"""tests the paths to open a portal if only that portal is closed with vanilla connections."""
9
13
# portal and requirements to reach it if it's the only closed portal
You can’t perform that action at this time.
0 commit comments