Skip to content

Commit

Permalink
Fix point action checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Hurd committed Sep 2, 2023
1 parent aacf05f commit 7c2a120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PointNotesDisplay/PointNotesDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PointNotesDisplay: React.FC = () => {

const thing: Thing | undefined = route.things[point.thingId];
if (thing && (thing.type === "Shrine" || thing.type === "Lightroot")) {
if (!point.action || point.action === Action.None) {
if (!point.action) {
let wasPreviouslySeen = false;

// Loop through branches and points to check if the current Thing was previously activated or completed
Expand Down

0 comments on commit 7c2a120

Please sign in to comment.