Commit 18104195 authored by Thomas Brandého's avatar Thomas Brandého
parents bed9d01b b79e6c06
......@@ -211,6 +211,7 @@ void Client::update(sf::RenderWindow& window)
m_menu->setStartPressed(false);
m_graphics->initMenu(m_menu);
m_graphics->setMessage("");
m_map = MapKoban();
break;
default:
hasMoved = false;
......
......@@ -186,6 +186,7 @@ void Graphics::initMenu(Menu* menu)
delete pe.second;
m_players.clear();
m_diffs.clear();
m_main_player = nullptr;
}
void Graphics::renderMenu(sf::RenderWindow &window, Menu* menu)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment