From 6040fb4126b0f1b7fd04502bb07204f83739c185 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Fri, 18 Aug 2023 20:13:32 +0500 Subject: [PATCH] wow purist is fixed --- beatrun/gamemodes/beatrun/gamemode/sh/PuristMode.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/PuristMode.lua b/beatrun/gamemodes/beatrun/gamemode/sh/PuristMode.lua index ee72b34..8619d13 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/PuristMode.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/PuristMode.lua @@ -5,10 +5,8 @@ end local PuristModeForce = CreateConVar("Beatrun_PuristModeForce", 0, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "Force players to adhere to purist rules", 0, 1) local function PuristMove(ply, mv, cmd) - local PuristMode = tobool(ply:GetInfo("Beatrun_PuristMode")) - if not ply:OnGround() and not ply:GetGrappling() then - if (PuristMode or PuristModeForce:GetBool()) and ply:WaterLevel() == 0 then + if (tobool(ply:GetInfo("Beatrun_PuristMode")) or PuristModeForce:GetBool()) and ply:WaterLevel() == 0 then mv:SetForwardSpeed(mv:GetForwardSpeed() * 0.001) mv:SetSideSpeed(mv:GetSideSpeed() * 0.001)