mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 22:38:38 +01:00
Fix the casing of the new upstream tpt.version keys
This commit is contained in:
parent
d56510b1ac
commit
e2743a2be1
@ -406,11 +406,11 @@ LuaScriptInterface::LuaScriptInterface(GameController * c, GameModel * m):
|
|||||||
lua_pushinteger(l, APP_VERSION.build);
|
lua_pushinteger(l, APP_VERSION.build);
|
||||||
lua_setfield(l, tptPropertiesVersion, "build");
|
lua_setfield(l, tptPropertiesVersion, "build");
|
||||||
lua_pushinteger(l, UPSTREAM_VERSION.displayVersion[0]);
|
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_pushinteger(l, UPSTREAM_VERSION.displayVersion[1]);
|
||||||
lua_setfield(l, tptPropertiesVersion, "upstream_minor");
|
lua_setfield(l, tptPropertiesVersion, "upstreamMinor");
|
||||||
lua_pushinteger(l, UPSTREAM_VERSION.build);
|
lua_pushinteger(l, UPSTREAM_VERSION.build);
|
||||||
lua_setfield(l, tptPropertiesVersion, "upstream_build");
|
lua_setfield(l, tptPropertiesVersion, "upstreamBuild");
|
||||||
lua_pushboolean(l, SNAPSHOT);
|
lua_pushboolean(l, SNAPSHOT);
|
||||||
lua_setfield(l, tptPropertiesVersion, "snapshot");
|
lua_setfield(l, tptPropertiesVersion, "snapshot");
|
||||||
lua_pushinteger(l, MOD_ID);
|
lua_pushinteger(l, MOD_ID);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user