From 5c7ecdb7c583c98cbe6bdf54ae7a07e6a6a61007 Mon Sep 17 00:00:00 2001 From: sapier Date: Sat, 13 Jul 2013 01:36:58 +0200 Subject: Add support for modstore screenshots Add error output on invalid mmdb entries --- src/guiLuaApi.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/guiLuaApi.cpp') diff --git a/src/guiLuaApi.cpp b/src/guiLuaApi.cpp index 4ed5cb24c..6bf8df607 100644 --- a/src/guiLuaApi.cpp +++ b/src/guiLuaApi.cpp @@ -430,6 +430,10 @@ int guiLuaApi::l_get_modstore_details(lua_State *L) lua_pushstring(L,current_mod.versions[0].file.c_str()); lua_settable(L, top); + lua_pushstring(L,"screenshot_url"); + lua_pushstring(L,current_mod.titlepic.file.c_str()); + lua_settable(L, top); + lua_pushstring(L,"license"); lua_pushstring(L,current_mod.license.shortinfo.c_str()); lua_settable(L, top); -- cgit v1.2.3