forked from teamnwah/openmw-tes3coop
[Master] Update server via operator= instead map::insert
This commit is contained in:
parent
b677a0455d
commit
d40a55a748
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void MasterServer::Thread()
|
|||
else if (pma.GetFunc() == PacketMasterAnnounce::FUNCTION_ANNOUNCE)
|
||||
{
|
||||
cout << "Updated";
|
||||
iter = servers.insert({packet->systemAddress, server}).first;
|
||||
iter->second = server;
|
||||
keepAliveFunc();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue