Skip to content

Commit 328fad0

Browse files
Disable Faction OC timer when detecting OC 2 data.
1 parent c894af5 commit 328fad0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

extension/changelog.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"logs": {
77
"features": [{ "message": "Sidebar timer for OC 2.", "contributor": "DeKleineKobini" }],
88
"fixes": [],
9-
"changes": [{ "message": "Disable OC1 timer when detecting OC 2 data.", "contributor": "DeKleineKobini" }],
9+
"changes": [
10+
{ "message": "Disable OC1 timer when detecting OC 2 data.", "contributor": "DeKleineKobini" },
11+
{ "message": "Disable Faction OC timer when detecting OC 2 data.", "contributor": "DeKleineKobini" }
12+
],
1013
"removed": []
1114
}
1215
},

extension/scripts/features/faction-oc-time/ttFactionOCTime.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
},
1717
() => {
1818
if (!hasAPIData() || !factiondata.crimes) return "No API access.";
19+
else if (!!userdata.organizedCrime) return "No OC 1 data.";
1920
}
2021
);
2122

0 commit comments

Comments
 (0)