fix: vehicle control tabs and not working in offline (#1219)

This commit is contained in:
Andreas Maerten
2023-04-11 20:55:08 +02:00
committed by GitHub
parent 43bc7d7bd1
commit 5ed00303bf
2 changed files with 3 additions and 7 deletions

View File

@ -367,9 +367,6 @@ namespace big
void vehicle_control::tick()
{
if (!*g_pointers->m_is_session_started)
return;
m_controlled_vehicle_exists = m_controlled_vehicle.ptr && ENTITY::DOES_ENTITY_EXIST(m_controlled_vehicle.handle)
&& VEHICLE::IS_THIS_MODEL_A_CAR(ENTITY::GET_ENTITY_MODEL(m_controlled_vehicle.handle));