From 24fb11aed6d20577430a31d2b9e5cbd91207a833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sat, 23 Dec 2023 19:33:48 +0100 Subject: [PATCH] Add tpt.version.beta --- src/lua/LuaScriptInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lua/LuaScriptInterface.cpp b/src/lua/LuaScriptInterface.cpp index 0f70d393e..bfa8e7f22 100644 --- a/src/lua/LuaScriptInterface.cpp +++ b/src/lua/LuaScriptInterface.cpp @@ -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);