diff --git a/ReallifeGamemode.Client/inputhelper/index.ts b/ReallifeGamemode.Client/inputhelper/index.ts index 9e717d0a..5808320a 100644 --- a/ReallifeGamemode.Client/inputhelper/index.ts +++ b/ReallifeGamemode.Client/inputhelper/index.ts @@ -61,7 +61,7 @@ private valueGetter(): Promise { return new Promise(resolve => { - while (this.value !== undefined) { + while (this.value === undefined) { mp.game.wait(1); } resolve(this.value);