mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Added the ability to change your password (via pause menu)
--HG-- extra : rebase_source : e8ec407f60711d42d33be4811b2880088f617b5b
This commit is contained in:
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "client.h"
|
||||
#include "server.h"
|
||||
#include "guiPauseMenu.h"
|
||||
#include "guiPasswordChange.h"
|
||||
#include "guiInventoryMenu.h"
|
||||
#include "guiTextInputMenu.h"
|
||||
#include "guiFurnaceMenu.h"
|
||||
@@ -912,6 +913,13 @@ void the_game(
|
||||
break;
|
||||
}
|
||||
|
||||
if(g_gamecallback->changepassword_requested)
|
||||
{
|
||||
(new GUIPasswordChange(guienv, guiroot, -1,
|
||||
&g_menumgr, &client))->drop();
|
||||
g_gamecallback->changepassword_requested = false;
|
||||
}
|
||||
|
||||
/*
|
||||
Process TextureSource's queue
|
||||
*/
|
||||
|
Reference in New Issue
Block a user