From f14a69e39bf9def75f754658c355181b38efb314 Mon Sep 17 00:00:00 2001 From: vadzz Date: Tue, 17 Dec 2024 11:50:36 +0300 Subject: [PATCH] Fix client build --- shared/V8ResourceImpl.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shared/V8ResourceImpl.cpp b/shared/V8ResourceImpl.cpp index cf0a64f0..b36a5e57 100644 --- a/shared/V8ResourceImpl.cpp +++ b/shared/V8ResourceImpl.cpp @@ -634,8 +634,11 @@ void V8ResourceImpl::PrintHealth() Log::Info << "Resource health: " << resource->GetName() << Log::Endl; Log::Info << " - Entities: " << entities.size() << Log::Endl; Log::Info << " - Timers: " << timers.size() << Log::Endl; - Log::Info << " - Timer benchmarks: " << benchmarkTimers.size() << Log::Endl; - Log::Info << " - Vehicle passengers: " << vehiclePassengers.size() << Log::Endl; + Log::Info << " - Timer benchmarks: " << benchmarkTimers.size() << Log::Endl; + +#ifdef ALT_SERVER_API + Log::Info << " - Vehicle passengers: " << vehiclePassengers.size() << Log::Endl; +#endif // ALT_SERVER_API } // Internal script globals