(Hopefully) fixing guest & game admin stuff.

This commit is contained in:
lotodore committed 2010-03-26 21:41:35 +00:00
1 parent 0cb1f11a52
commit a02a9cacf6
10 files changed
+39 -25

No files matched your search

+1 -1
View File
@@ -675,7 +675,7 @@ ClientThread::SetNewGameAdmin(unsigned id)
boost::shared_ptr<PlayerData> playerData = GetPlayerDataByUniqueId(id);
if (playerData.get())
{
playerData->SetRights(PLAYER_RIGHTS_ADMIN);
playerData->SetGameAdmin(true);
GetCallback().SignalNetClientNewGameAdmin(id, playerData->GetName());
}
}