From 7d4c3c918a3a7a18e60eaf9a673482e4b9033ff2 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Fri, 1 Sep 2023 20:32:21 +0500 Subject: [PATCH] disable blindness toggle --- .../entities/weapons/runnerhands/shared.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua b/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua index 4ff6265..1a789bd 100644 --- a/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua +++ b/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua @@ -388,13 +388,13 @@ function SWEP:Reload() if not TUTORIALMODE and CurTime() > self.RespawnDelay and self:GetOwner():GetClimbing() == 0 and not IsValid(self:GetOwner():GetSwingbar()) and not self:GetOwner().BuildMode then self:GetOwner():Spawn() - if self:GetOwner():KeyDown(IN_USE) then - if game.SinglePlayer() then - RunConsoleCommand("toggleblindness") - elseif CLIENT then - ToggleBlindness(not blinded) - end - end + -- if self:GetOwner():KeyDown(IN_USE) then + -- if game.SinglePlayer() then + -- RunConsoleCommand("toggleblindness") + -- elseif CLIENT then + -- ToggleBlindness(not blinded) + -- end + -- end self.RespawnDelay = CurTime() + 0.5 end