You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Int index = TheControlBar->getCurrentlyViewedPlayer()->getPlayerIndex();
5565
+
Player* player = rts::getObservedOrLocalPlayer();
5566
+
Int index = player->getPlayerIndex();
5567
+
5566
5568
if(m_idleWorkers[index].empty())
5567
5569
{
5568
-
DEBUG_ASSERTCRASH(FALSE, ("InGameUI::selectNextIdleWorker We're trying to select a worker when our list is empty for player %ls", ThePlayerList->getLocalPlayer()->getPlayerDisplayName().str()));
5570
+
DEBUG_ASSERTCRASH(FALSE, ("InGameUI::selectNextIdleWorker We're trying to select a worker when our list is empty for player %ls", player->getPlayerDisplayName().str()));
0 commit comments