From ed0b1a8f3984286c45ebe59a2769ea82b4c020d7 Mon Sep 17 00:00:00 2001 From: kookroach <62265045+kookroach@users.noreply.github.com> Date: Mon, 5 Apr 2021 01:19:34 +0200 Subject: [PATCH] push --- ReallifeGamemode.Client/Gui/blips.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index b9f591ef..41a62fbd 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -34,7 +34,7 @@ export default function playerBlips() { }); mp.events.add("entityStreamOut", (entity) => { - if (entity.type === "player") { + if (playerBlipMap && entity.type === "player") { if (playerBlipMap.has(entity)) { var pBlip = playerBlipMap.get(entity); pBlip.destroy();