Skip to content

Commit c3c3503

Browse files
committed
Fix missed change
1 parent 797824b commit c3c3503

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Plandomizer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,8 @@ def __str__(self) -> str:
13661366
return dump_obj(self.to_json())
13671367

13681368
def update_spoiler(self, spoiler: Spoiler, output_spoiler: bool) -> None:
1369+
from World import triforce_count
1370+
13691371
self.file_hash = [HASH_ICONS[icon] for icon in spoiler.file_hash]
13701372
self.password = [PASSWORD_NOTES[note - 1] for note in spoiler.password]
13711373

@@ -1395,7 +1397,7 @@ def update_spoiler(self, spoiler: Spoiler, output_spoiler: bool) -> None:
13951397
goal_text = goal_text[0].upper() + goal_text[1:]
13961398
# Add Token/Triforce Piece/heart reachability data
13971399
if goal.items[0]['name'] == 'Triforce Piece':
1398-
goal_text += ' (' + str(goal.items[0]['quantity']) + '/' + str(world.triforce_count) + ' reachable)'
1400+
goal_text += ' (' + str(goal.items[0]['quantity']) + '/' + str(triforce_count(spoiler.worlds)) + ' reachable)'
13991401
if goal.items[0]['name'] == 'Gold Skulltula Token':
14001402
goal_text += ' (' + str(goal.items[0]['quantity']) + '/100 reachable)'
14011403
if goal.items[0]['name'] == 'Piece of Heart':

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__version__ = '8.3.17'
22

33
# This is a supplemental version number for branches based off of main dev.
4-
supplementary_version = 2
4+
supplementary_version = 3
55

66
# Pick a unique identifier byte for your fork if you are intending to have a long-lasting branch.
77
# This will be 0x00 for main releases and 0x01 for main dev.

0 commit comments

Comments
 (0)