Skip to content

Commit

Permalink
oopsy: fix role-based mistake tracking (#5366)
Browse files Browse the repository at this point in the history
This was broken in #4499. Apparently I had implemented it, but forgot
that job was in hex and so the id -> job -> role mapping was incorrect.
Oops.

Fixes #4530.
  • Loading branch information
quisquous authored Apr 23, 2023
1 parent 782932b commit 4439e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/oopsyraidsy/player_state_tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ export class PlayerStateTracker {
worldIdStr !== undefined && jobStr !== undefined
) {
// Generate the party info we would get from OverlayPlugin via logs.
const worldId = parseInt(worldIdStr);
const job = parseInt(jobStr);
const worldId = parseInt(worldIdStr, 16);
const job = parseInt(jobStr, 16);
// Consider everybody in the party for now and we'll figure it out later.
const inParty = true;
this.idToPartyInfo[id] = { id, name, worldId, job, inParty };
Expand Down

0 comments on commit 4439e8c

Please sign in to comment.