Closed Denneisk closed 2 months ago
Messed up something with the git history whatever
This is because some servers don't have
math.tau
defined on them for whatever reason.
That's because GMod updates are optional on servers, so servers are outdated sometimes. The math.tau constant was added in last main update. Rubat's tip toeing around net compatibility makes it possible that server could be outdated by 2+ years and still be able to connect to. Good luck accounting for those servers in addon code on the long run.
Many users have been complaining about the number extension suddenly not working. This is because some servers don't have
math.tau
defined on them for whatever reason. This PR presents a twofold solution:math.tau
when it is undefined.Changes:
math.tau
E2Lib.registerConstant
to useWireLib.Notify
instead so invalid constants don't break the extension.E2Lib.registerConstant
(This functionality should probably be moved to its own function)WireLib.Notify
"nudges" on the clientUpdated error form (note E2 executes extension files twice):