at some point in the loading screen the calculations in starcursor turn a number into a nan(ind) NotaNumber.
at that point the condition speed<0 and speed>0 is true for the variable.
(-1)^.5 is a reliable way to produce a NaN. just found it in a forum post and wanted to see the output. But after i added it the addon would bug out right from the start.
i have this as a fix and it works:
if (speed<0 and speed>0) then speed=1; end
but i still would like to know what happens to trigger the bug.
|