try fix clientside error

This commit is contained in:
hydrant
2021-04-04 23:46:40 +02:00
parent 007da73885
commit dcf5e4eb2d
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ export default class InputHelper {
private valueGetter(): Promise<string> {
return new Promise(resolve => {
while (this.value === undefined) {
mp.game.wait(1);
mp.game.waitAsync(1);
}
resolve(this.value);
});