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

View File

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