Skip to content

Commit

Permalink
Store ghost map on change
Browse files Browse the repository at this point in the history
  • Loading branch information
mlugg committed Feb 9, 2021
1 parent 6c45f11 commit 99abc14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GhostServer/networkmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ void NetworkManager::TreatTCP(sf::Packet& packet)
if (client) {
std::string map;
packet >> map;
client->currentMap = map;
emit this->OnNewEvent(QString::fromStdString(client->name) + " is now on " + QString::fromStdString(map));
}

Expand Down

0 comments on commit 99abc14

Please sign in to comment.