forked from mirrors/kolyah35-minecraft-pe-0.6.1
REMOVE: User class
This commit is contained in:
parent
2c132d5bc7
commit
5ff8b54c4f
9 changed files with 35 additions and 100 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#include "UsernameScreen.h"
|
||||
#include "StartMenuScreen.h"
|
||||
#include "../../Minecraft.h"
|
||||
#include "../../User.h"
|
||||
#include "../Font.h"
|
||||
#include "../components/Button.h"
|
||||
#include "../../../platform/input/Keyboard.h"
|
||||
|
|
@ -75,7 +74,6 @@ void UsernameScreen::buttonClicked(Button* button)
|
|||
if (button == &_btnDone && !tUsername.text.empty()) {
|
||||
minecraft->options.set(OPTIONS_USERNAME, tUsername.text);
|
||||
minecraft->options.save();
|
||||
minecraft->user->name = tUsername.text;
|
||||
minecraft->setScreen(NULL); // goes to StartMenuScreen
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue