mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Show git hash in version string at top left corner of window
This commit is contained in:
@@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "guiKeyChangeMenu.h"
|
||||
#include "guiFileSelectMenu.h"
|
||||
#include "subgame.h"
|
||||
#include "version.h"
|
||||
#include "porting.h"
|
||||
#include "filesys.h"
|
||||
#include "convert_json.h"
|
||||
@@ -923,7 +924,7 @@ int ModApiMainMenu::l_show_file_open_dialog(lua_State *L)
|
||||
/******************************************************************************/
|
||||
int ModApiMainMenu::l_get_version(lua_State *L)
|
||||
{
|
||||
lua_pushstring(L,VERSION_STRING);
|
||||
lua_pushstring(L, minetest_version_simple);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user