Fixed issue with Trinity + Multiworld
This commit is contained in:
@@ -2836,6 +2836,7 @@ class Spoiler(object):
|
|||||||
}
|
}
|
||||||
if self.world.custom:
|
if self.world.custom:
|
||||||
for p in range(1, self.world.players + 1):
|
for p in range(1, self.world.players + 1):
|
||||||
|
if p in self.world.customitemarray:
|
||||||
if self.world.customitemarray[p]["triforcepiecesgoal"] > 0:
|
if self.world.customitemarray[p]["triforcepiecesgoal"] > 0:
|
||||||
self.metadata['triforcegoal'][p] = max(min(self.world.customitemarray[p]["triforcepiecesgoal"], 99), 1)
|
self.metadata['triforcegoal'][p] = max(min(self.world.customitemarray[p]["triforcepiecesgoal"], 99), 1)
|
||||||
if self.world.customitemarray[p]["triforcepieces"] > 0:
|
if self.world.customitemarray[p]["triforcepieces"] > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user