From e2743a2be1de7b9729b434c60b64ed32e9a5f039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Wed, 25 Oct 2023 20:12:48 +0200 Subject: [PATCH] Fix the casing of the new upstream tpt.version keys --- src/lua/LuaScriptInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lua/LuaScriptInterface.cpp b/src/lua/LuaScriptInterface.cpp index 0124e952c..3a884f946 100644 --- a/src/lua/LuaScriptInterface.cpp +++ b/src/lua/LuaScriptInterface.cpp @@ -406,11 +406,11 @@ LuaScriptInterface::LuaScriptInterface(GameController * c, GameModel * m): lua_pushinteger(l, APP_VERSION.build); lua_setfield(l, tptPropertiesVersion, "build"); lua_pushinteger(l, UPSTREAM_VERSION.displayVersion[0]); - lua_setfield(l, tptPropertiesVersion, "upstream_major"); + lua_setfield(l, tptPropertiesVersion, "upstreamMajor"); lua_pushinteger(l, UPSTREAM_VERSION.displayVersion[1]); - lua_setfield(l, tptPropertiesVersion, "upstream_minor"); + lua_setfield(l, tptPropertiesVersion, "upstreamMinor"); lua_pushinteger(l, UPSTREAM_VERSION.build); - lua_setfield(l, tptPropertiesVersion, "upstream_build"); + lua_setfield(l, tptPropertiesVersion, "upstreamBuild"); lua_pushboolean(l, SNAPSHOT); lua_setfield(l, tptPropertiesVersion, "snapshot"); lua_pushinteger(l, MOD_ID);