Skip to content

Commit

Permalink
Fixed Aspect Tree not Displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
spencers145 committed Jan 14, 2024
1 parent c7e1f9a commit 692d8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aspecttree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ SharkGame.AspectTree = {

$.each(SharkGame.Aspects, (aspectId, aspectData) => {
const reqref = tree.requirementReference[aspectId];
if (!reqref.revealed) return;
if (!reqref || !reqref.revealed) return;

let basicText = "";
let cantBuyText = "";
Expand Down

0 comments on commit 692d8de

Please sign in to comment.