Skip to content

Commit

Permalink
Sidebar timer for OC 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeKleineKobini committed Jan 15, 2025
1 parent f152799 commit d8d2114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/scripts/features/oc2-time/ttOC2Time.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}

function buildPositionElement() {
const position = userdata.organizedCrime.slots.find(({ user_id }) => user_id === userdata.user_id)?.position ?? "???";
const position = userdata.organizedCrime.slots.find(({ user_id }) => user_id === userdata.player_id)?.position ?? "???";
const name = userdata.organizedCrime.name;

return document.newElement({ type: "span", class: "position", text: `${position} in ${name}` });
Expand Down

0 comments on commit d8d2114

Please sign in to comment.