Skip waiting players in network item manager
This commit is contained in:
parent
0b19ee77fa
commit
c59a11c85c
@ -49,7 +49,7 @@ NetworkItemManager::NetworkItemManager()
|
|||||||
auto peers = STKHost::get()->getPeers();
|
auto peers = STKHost::get()->getPeers();
|
||||||
for (auto& p : peers)
|
for (auto& p : peers)
|
||||||
{
|
{
|
||||||
if (!p->isValidated())
|
if (!p->isValidated() || p->isWaitingForGame())
|
||||||
continue;
|
continue;
|
||||||
m_last_confirmed_item_ticks[p] = 0;
|
m_last_confirmed_item_ticks[p] = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user