merged motd and exit patch by dongresource

This commit is contained in:
2020-08-19 12:22:54 -05:00
parent e5274045b0
commit f2059c9ce1
8 changed files with 213 additions and 7 deletions

View File

@@ -15,6 +15,8 @@ void CNSharedData::setPlayer(int64_t sk, Player& plr) {
}
Player CNSharedData::getPlayer(int64_t sk) {
std::lock_guard<std::mutex> lock(playerCrit); // the lock will be removed when the function ends
return players[sk];
}