From a62cbd76e445acccd4cad2233cf8f792c6332e26 Mon Sep 17 00:00:00 2001 From: Alexander Grist-Hucker Date: Tue, 24 Dec 2024 18:13:22 +0000 Subject: [PATCH] Fix linter errors --- plugins/stamina/sh_plugin.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/plugins/stamina/sh_plugin.lua b/plugins/stamina/sh_plugin.lua index ff4d154c9..9cfade877 100644 --- a/plugins/stamina/sh_plugin.lua +++ b/plugins/stamina/sh_plugin.lua @@ -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