Skip to content

Commit

Permalink
fix(client): zone instance id not ignoring sign on bit shift (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
microwavekonijn authored Aug 13, 2022
1 parent 5ea474d commit 106e376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/events/base/zone.event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export abstract class ZoneEvent extends PS2Event {
}

get zoneInstanceId(): number {
return (Number.parseInt(this.zone_id, 10) & 0xffff0000) >> 16;
return (Number.parseInt(this.zone_id, 10) & 0xffff0000) >>> 16;
}
}

0 comments on commit 106e376

Please sign in to comment.