Skip waiting players in network item manager

This commit is contained in:
Benau 2018-09-05 01:59:40 +08:00
parent 0b19ee77fa
commit c59a11c85c

View File

@ -49,7 +49,7 @@ NetworkItemManager::NetworkItemManager()
auto peers = STKHost::get()->getPeers();
for (auto& p : peers)
{
if (!p->isValidated())
if (!p->isValidated() || p->isWaitingForGame())
continue;
m_last_confirmed_item_ticks[p] = 0;
}