Add tpt.version.beta

This commit is contained in:
Tamás Bálint Misius 2023-12-23 19:33:48 +01:00
parent bbe84e3505
commit 24fb11aed6
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -413,6 +413,8 @@ LuaScriptInterface::LuaScriptInterface(GameController * c, GameModel * m):
lua_setfield(l, tptPropertiesVersion, "upstreamBuild");
lua_pushboolean(l, SNAPSHOT);
lua_setfield(l, tptPropertiesVersion, "snapshot");
lua_pushboolean(l, BETA);
lua_setfield(l, tptPropertiesVersion, "beta");
lua_pushinteger(l, MOD_ID);
lua_setfield(l, tptPropertiesVersion, "modid");
auto vcsTag = ByteString(VCS_TAG);