diff --git a/shared/V8ResourceImpl.cpp b/shared/V8ResourceImpl.cpp index 3428617b..884c6702 100644 --- a/shared/V8ResourceImpl.cpp +++ b/shared/V8ResourceImpl.cpp @@ -643,8 +643,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