From ffa6755afd52333799f6be8c49cf6996b77cbabc Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 4 Jul 2021 20:46:32 +0200 Subject: [PATCH] hitmarker raus weil buggy --- ReallifeGamemode.Client/util/weapondamage.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/util/weapondamage.ts b/ReallifeGamemode.Client/util/weapondamage.ts index b3b708b1..ce4a394b 100644 --- a/ReallifeGamemode.Client/util/weapondamage.ts +++ b/ReallifeGamemode.Client/util/weapondamage.ts @@ -2,7 +2,7 @@ import polygons from "../polygons"; import { getWantedCount } from "../Gui/wanteds"; import { spawnschutzEnabled } from "../Player/spawnschutz"; -import Hits from "./hitmarker"; +//import Hits from "./hitmarker"; function isTargetInPolygon(pos): boolean { @@ -49,9 +49,11 @@ export default function weapondamageUtil(globalData: IGlobalData) { return true; } + /* if (targetEntity.type === 'player') { Hits.add(damage, targetEntity.position); } + */ }); mp.events.add("render", () => {