mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
disable blindness toggle
This commit is contained in:
parent
7c83d48f71
commit
7d4c3c918a
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue