mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-05 16:07:27 +02:00
Fix the casing of the new upstream tpt.version keys
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user