
HeadsUpView.lua:269: attempt to perform arithmetic on global 'max' (a function value)
Closed this issue ยท 3 comments
Running 1.1.0. For a short while now, i assume due to an update to the game at some point, I've been randomly getting the following error. I'm unsure of what causes it as it will stop occurring for a bit and then all of a sudden come back when I mount up to fly. Thanks.
3x RideTheWind/GUI/Views/HeadsUpView.lua:269: attempt to perform arithmetic on global 'max' (a function value)
[RideTheWind/GUI/Views/HeadsUpView.lua]:269: in function <RideTheWind/GUI/Views/HeadsUpView.lua:262>
[C]: in function 'Show'
[RideTheWind/GUI/Views/HeadsUpView.lua]:446: in function 'Update'
[RideTheWind/GUI/Views/HeadsUpView.lua]:543: in function 'SpeedTest'
[RideTheWind/GUI/Views/HeadsUpView.lua]:435: in function <RideTheWind/GUI/Views/HeadsUpView.lua:434>
Locals:
spellCharges =
maxCharges = 3
cooldownStartTime = 53476.223000
chargeModRate = 1
currentCharges = 2
cooldownDuration = 180
}
cdLeft = 20.512000
currentChargeCD = 159.488000
(*temporary) = 3
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on global 'max' (a function value)"
headsUpView =
modules =
}
defaultModuleLibraries =
}
name = "RideTheWind_HeadsUpView"
orderedModules =
}
enabledState = true
data =
}
baseName = "RideTheWind"
moduleName = "HeadsUpView"
defaultModuleState = true
}
self =
modules =
}
defaultModuleLibraries =
}
name = "RideTheWind_HeadsUpView"
orderedModules =
}
enabledState = true
data =
}
baseName = "RideTheWind"
moduleName = "HeadsUpView"
defaultModuleState = true
}
Seems to be happening more frequently now. Occurs most times I mount and even happens when I'm just sitting there on a mount in the main city.
I made a PR #7 this fixes it for me, feel feel to clone the branch locally until it gets merged