Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgrist committed Dec 24, 2024
1 parent ca2624c commit a62cbd7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions plugins/stamina/sh_plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ local function CalcStaminaChange(client)
return 0
end

local runSpeed

if (SERVER) then
runSpeed = ix.config.Get("runSpeed") + character:GetAttribute("stm", 0)

if (client:WaterLevel() > 1) then
runSpeed = runSpeed * 0.775
end
end

local walkSpeed = ix.config.Get("walkSpeed")
local maxAttributes = ix.config.Get("maxAttributes", 100)
local offset
Expand Down

0 comments on commit a62cbd7

Please sign in to comment.