fix nonexistant global BASE_MOVEMENT_SPEED. Fixes #72
This commit is contained in:
parent
0ff05bfc1b
commit
e6651433d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue