Remove force vehicle interior sync
This commit is contained in:
@@ -340,12 +340,12 @@ function setLocalPlayerInterior(interior) {
|
||||
}
|
||||
}
|
||||
|
||||
let vehicles = getElementsByType(ELEMENT_VEHICLE);
|
||||
for(let i in vehicles) {
|
||||
if(getEntityData(vehicles[i], "vrr.interior")) {
|
||||
vehicles[i].interior = getEntityData(vehicles[i], "vrr.interior");
|
||||
}
|
||||
}
|
||||
//let vehicles = getElementsByType(ELEMENT_VEHICLE);
|
||||
//for(let i in vehicles) {
|
||||
// if(getEntityData(vehicles[i], "vrr.interior")) {
|
||||
// vehicles[i].interior = getEntityData(vehicles[i], "vrr.interior");
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user