From 3887bcefdfff300279c45a463f64b7a28ded93d9 Mon Sep 17 00:00:00 2001 From: OhMyGuus Date: Wed, 14 Apr 2021 15:15:52 +0200 Subject: [PATCH] Small fix --- src/main/GameReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index cbe2cdf54..66893ac83 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -566,7 +566,7 @@ export default class GameReader { let x = this.readMemory('float', data.objectPtr, positionOffsets[0]); let y = this.readMemory('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;