Refactoring mishap

This commit is contained in:
Learath 2019-05-01 22:57:14 +03:00
parent 689c7b29be
commit 57f58cc9c7

View file

@ -688,7 +688,7 @@ void CGameContext::OnTick()
Server()->GetClientAddr(i, aaBuf[i], NETADDR_MAXSTRSIZE);
if(!pIP)
pIP = aaBuf[i];
else if(!SinglePlayer && str_comp(pIP, aaBuf[i]))
else if(SinglePlayer && str_comp(pIP, aaBuf[i]))
SinglePlayer = false;
}
}