mxls
This commit is contained in:
@@ -20,9 +20,9 @@ function ADis_CollectRescueSprechwuensche() {
|
||||
}).then(() => {
|
||||
$("#building_list").find(".building_list_vehicle_element").each(function () {
|
||||
var VehicleStatus = $(this).find(".building_list_fms").text();
|
||||
// var VehicleType = $(this).find("a").attr("vehicle_type_id");
|
||||
var VehicleType = Number(parseInt($(this).find("a").attr("vehicle_type_id")));
|
||||
var VehicleID = $(this).attr("vehicle_id");
|
||||
if (VehicleStatus == "5") {
|
||||
if (VehicleStatus == "5" && [32,52].indexOf(VehicleType) === -1) {
|
||||
ADis_AddRescueSprechwunschToQueue(VehicleID);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user