Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyGuus committed Apr 14, 2021
1 parent 54044c0 commit 3887bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/GameReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ export default class GameReader {
let x = this.readMemory<number>('float', data.objectPtr, positionOffsets[0]);
let y = this.readMemory<number>('float', data.objectPtr, positionOffsets[1]);
let bugged = false;
if (x === undefined || y === undefined || data.disconnected != 0) {
if (x === undefined || y === undefined || data.disconnected != 0 || data.color > 40) {
x = 9999;
y = 9999;
bugged = true;
Expand Down

0 comments on commit 3887bce

Please sign in to comment.