forked from Kolyah35/minecraft-pe-0.6.1
FIXED: chat history clears on disconnect
This commit is contained in:
@@ -334,6 +334,11 @@ void Gui::addMessage(const std::string& _string) {
|
||||
}
|
||||
}
|
||||
|
||||
void Gui::clearMessages() {
|
||||
guiMessages.clear();
|
||||
chatScrollOffset = 0;
|
||||
}
|
||||
|
||||
void Gui::setNowPlaying(const std::string& string) {
|
||||
overlayMessageString = "Now playing: " + string;
|
||||
overlayMessageTime = 20 * 3;
|
||||
|
||||
Reference in New Issue
Block a user