From b3fdbccff3fd7e0ab9e42f80b684a49d08047fc8 Mon Sep 17 00:00:00 2001 From: kookroach Date: Tue, 6 Apr 2021 16:55:30 +0200 Subject: [PATCH] tryfix --- ReallifeGamemode.Client/util/animationSync.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ReallifeGamemode.Client/util/animationSync.ts b/ReallifeGamemode.Client/util/animationSync.ts index 7343190b..6ccb7840 100644 --- a/ReallifeGamemode.Client/util/animationSync.ts +++ b/ReallifeGamemode.Client/util/animationSync.ts @@ -72,10 +72,6 @@ mp.events.addDataHandler("AnimationData", (entity: PlayerMp, string) => { entity.clearTasksImmediately(); - if (entity == mp.players.local) { //allow player using LMB to attack - blockInput = false; - } - if (string == null) { return; } @@ -96,10 +92,6 @@ if (!pair) return; - if (entity == mp.players.local) { //block player from using LMB to attack - blockInput = true; - } - let a = setInterval(function () { mp.events.callRemote("CLIENT:AnimPairTransition", entity, pair.transitionTo); clearInterval(a);