Increasing allowance on infinite loop detection

This commit is contained in:
codemann8
2022-10-28 13:51:10 -05:00
parent bba486f526
commit 417609eb8d

View File

@@ -1471,7 +1471,7 @@ class Region(object):
def can_reach(self, state):
from Utils import stack_size3a
from DungeonGenerator import GenerationException
if stack_size3a() > self.world.players * 500:
if stack_size3a() > self.world.players * 1000:
raise GenerationException(f'Infinite loop detected for "{self.name}" located at \'Region.can_reach\'')
if state.stale[self.player]: