Commit 02b3636a authored by Thomas Brandého's avatar Thomas Brandého

clear map diffs on reset

parent b18219f7
......@@ -58,7 +58,7 @@ public:
void pushPlayerAction(PlayerDiff p_diff);
void clearAllPlayerAction(std::string id);
void clearMapDiffs(){m_mapdiffs.clear();}
unsigned int getCurrentTurn(){return m_current_turn_id;}
void filterMapDiff();
......@@ -33,6 +33,7 @@ void Server::destroy()
void Server::resetMap(){
m_map->addSpawn(sf::Vector2i(3, 3));
m_map->addSpawn(sf::Vector2i(4, 3));
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