fix nonexistant global BASE_MOVEMENT_SPEED. Fixes #72

This commit is contained in:
andrew6180
2025-10-09 10:33:03 -07:00
parent 0ff05bfc1b
commit e6651433d6
+1 -1
View File
@@ -960,7 +960,7 @@ end
do
local speedText = _G.SPEED
local baseSpeed = _G.BASE_MOVEMENT_SPEED
local baseSpeed = 7
E:AddTag('speed:percent', 0.1, function(unit)
local currentSpeedInYards = GetUnitSpeed(unit)
local currentSpeedInPercent = (currentSpeedInYards / baseSpeed) * 100