From 596bad44af612dc0a1c8483d424811b96ff034b2 Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 2 Sep 2019 19:20:51 +0200 Subject: [PATCH] Fix inputhelper --- ReallifeGamemode.Client/inputhelper/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);