(#1969): improve situation for structures that want to accept vehicles to be entered

install-platforms
Maikel de Vries 2018-01-14 14:45:48 +01:00
parent 705ab86078
commit 07ea7f2791
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ func GetInteractableObjects(array sort)
// Interactable can be entered if you are pushing a vehcile and the object is a container, see issue #1969
if (GetProcedure() == "PUSH")
{
can_be_entered &= interactable->~IsContainer();
can_be_entered &= (interactable->~IsContainer() || interactable->~AllowsVehicleEntrance());
}
}
if (can_be_entered && (!can_only_use_container || can_be_exited))