Skip to content

Commit

Permalink
Disable Faction OC timer when detecting OC 2 data.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeKleineKobini committed Jan 17, 2025
1 parent c894af5 commit 328fad0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extension/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"logs": {
"features": [{ "message": "Sidebar timer for OC 2.", "contributor": "DeKleineKobini" }],
"fixes": [],
"changes": [{ "message": "Disable OC1 timer when detecting OC 2 data.", "contributor": "DeKleineKobini" }],
"changes": [
{ "message": "Disable OC1 timer when detecting OC 2 data.", "contributor": "DeKleineKobini" },
{ "message": "Disable Faction OC timer when detecting OC 2 data.", "contributor": "DeKleineKobini" }
],
"removed": []
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
() => {
if (!hasAPIData() || !factiondata.crimes) return "No API access.";
else if (!!userdata.organizedCrime) return "No OC 1 data.";
}
);

Expand Down

0 comments on commit 328fad0

Please sign in to comment.