Fix the casing of the new upstream tpt.version keys

This commit is contained in:
Tamás Bálint Misius 2023-10-25 20:12:48 +02:00
parent d56510b1ac
commit e2743a2be1
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -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);