From f17df0103c24436dab8033b476086331bab28e42 Mon Sep 17 00:00:00 2001 From: kookroach <62265045+kookroach@users.noreply.github.com> Date: Mon, 5 Apr 2021 00:49:15 +0200 Subject: [PATCH] push --- ReallifeGamemode.Client/Gui/blips.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index e9f2ad95..c465c548 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -7,8 +7,8 @@ export default function playerBlips() { - mp.events.add("entityStreamIn", (entity) => { - mp.game.wait(100); + mp.events.add("entityStreamIn", async (entity) => { + await mp.game.waitAsync(100); if (entity.type === "player") { let color = parseInt(entity.getVariable("blipColor")); if (entity.blip == 0) entity.createBlip(1);