I use a call to lua function GetVersionString() to find the current version of the game to compensate for an issue where the number of parameters to AddUITriggeredEvent changes from 3.6 to 4.x
Code: Select all
local version = tonumber(string.sub(GetVersionString(), 7, 12))
But 4.1 RC3 is returning
4.10 Beta (232953) and the version is in characters 12 to 17
which upsets things and will also break several of my other mods that use the same compensating lua code
The good news is that when the Beta goes out of the version string then they "should" all work again
Or I could change the code to compensate and maybe find what is between the () and ignore everything else or look in a different place when it sees Beta. Lots of ways to do this.
Hmmmm
Anybody have any strong opinions on the best way to go ?
jth