mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-09 16:06:00 +00:00
possibly fix invisible car bug
This commit is contained in:
committed by
Anonymous275
parent
714d31fb45
commit
b777781c96
@@ -539,7 +539,7 @@ void TTCPServer::SyncClient(const std::weak_ptr<TClient>& c) {
|
||||
if (!ClientPtr.expired()) {
|
||||
auto client = ClientPtr.lock();
|
||||
if (client != LockedClient) {
|
||||
for (auto& v : LockedClient->GetAllCars()) {
|
||||
for (auto& v : client->GetAllCars()) {
|
||||
if (v != nullptr) {
|
||||
if (LockedClient->GetStatus() < 0) {
|
||||
Return = true;
|
||||
|
||||
Reference in New Issue
Block a user