hitmarker raus weil buggy

This commit is contained in:
Luke
2021-07-04 20:46:32 +02:00
parent 732c40ecd9
commit ffa6755afd

View File

@@ -2,7 +2,7 @@
import polygons from "../polygons"; import polygons from "../polygons";
import { getWantedCount } from "../Gui/wanteds"; import { getWantedCount } from "../Gui/wanteds";
import { spawnschutzEnabled } from "../Player/spawnschutz"; import { spawnschutzEnabled } from "../Player/spawnschutz";
import Hits from "./hitmarker"; //import Hits from "./hitmarker";
function isTargetInPolygon(pos): boolean { function isTargetInPolygon(pos): boolean {
@@ -49,9 +49,11 @@ export default function weapondamageUtil(globalData: IGlobalData) {
return true; return true;
} }
/*
if (targetEntity.type === 'player') { if (targetEntity.type === 'player') {
Hits.add(damage, targetEntity.position); Hits.add(damage, targetEntity.position);
} }
*/
}); });
mp.events.add("render", () => { mp.events.add("render", () => {