mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Move some more sources to shared target
This commit is contained in:
@@ -37,6 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "clientdynamicinfo.h"
|
||||
#include "client/client.h"
|
||||
#include "client/renderingengine.h"
|
||||
#include "client/texturepaths.h"
|
||||
#include "network/networkprotocol.h"
|
||||
#include "content/mod_configuration.h"
|
||||
#include "threading/mutex_auto_lock.h"
|
||||
@@ -330,8 +331,9 @@ int ModApiMainMenu::l_get_games(lua_State *L)
|
||||
lua_pushinteger(L, game.release);
|
||||
lua_settable(L, top_lvl2);
|
||||
|
||||
auto menuicon = getImagePath(game.path + DIR_DELIM "menu" DIR_DELIM "icon.png");
|
||||
lua_pushstring(L, "menuicon_path");
|
||||
lua_pushstring(L, game.menuicon_path.c_str());
|
||||
lua_pushstring(L, menuicon.c_str());
|
||||
lua_settable(L, top_lvl2);
|
||||
|
||||
lua_pushstring(L, "addon_mods_paths");
|
||||
|
Reference in New Issue
Block a user