mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
Fix my dumb arse bug
This commit is contained in:
parent
44842541be
commit
32863eb53a
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ local function SwingbarCheck(ply, mv, cmd)
|
||||||
|
|
||||||
if IsValid(trout.Entity) and trout.Entity:GetClass() == "br_swingbar" and (ply:GetSwingbarLast() ~= trout.Entity or ply:GetSBDelay() < CurTime()) then
|
if IsValid(trout.Entity) and trout.Entity:GetClass() == "br_swingbar" and (ply:GetSwingbarLast() ~= trout.Entity or ply:GetSBDelay() < CurTime()) then
|
||||||
if CrueltyParkour:GetBool() and !ply:UsingRH() then
|
if CrueltyParkour:GetBool() and !ply:UsingRH() then
|
||||||
|
else
|
||||||
local swingbar = trout.Entity
|
local swingbar = trout.Entity
|
||||||
local dot = cmd:GetViewAngles():Forward():Dot(swingbar:GetAngles():Forward())
|
local dot = cmd:GetViewAngles():Forward():Dot(swingbar:GetAngles():Forward())
|
||||||
local dir = dot > 0 and true or false
|
local dir = dot > 0 and true or false
|
||||||
|
|
Loading…
Reference in a new issue