Version constants for Lua
Compare changes
+ 5
− 0
@@ -6941,6 +6941,8 @@ struct {
@@ -8213,6 +8215,9 @@ static inline int lib_getenum(lua_State *L)
Pretty simple thing. Allows scripters to use VERSION, SUBVERSION, and VERSIONSTRING to check the game's version and potentially futureproof scripts. Have tested and confirmed working on my end.