Update maintain_area.sqf

This commit is contained in:
A Man
2021-09-20 10:33:03 +02:00
parent 5aba5d7ddd
commit 9ecdb21dd0

View File

@@ -157,11 +157,7 @@ call {
if (_count == 0) then { if (_count == 0) then {
_message1 = localize "STR_EPOCH_PLOTMANAGEMENT_MAINTAIN_NONE"; _message1 = localize "STR_EPOCH_PLOTMANAGEMENT_MAINTAIN_NONE";
if (DZE_permanentPlot) then { _line1 ctrlSetText _message1;
_line1 ctrlSetText _message1;
} else {
_message1 call dayz_rollingMessages;
};
} else { } else {
_requirements = _count call _req; _requirements = _count call _req;
@@ -170,11 +166,7 @@ call {
} else { } else {
_message1 = format [localize "STR_EPOCH_PLOTMANAGEMENT_MAINTAIN_PRICE", _count,_requirements select 1,""]; _message1 = format [localize "STR_EPOCH_PLOTMANAGEMENT_MAINTAIN_PRICE", _count,_requirements select 1,""];
}; };
if (DZE_permanentPlot) then { _line1 ctrlSetText _message1;
_line1 ctrlSetText _message1;
} else {
_message1 call dayz_rollingMessages;
};
}; };
_requirements = count _objects call _req; _requirements = count _objects call _req;
if (Z_SingleCurrency) then { if (Z_SingleCurrency) then {
@@ -183,11 +175,7 @@ call {
_message2 = format [localize "STR_EPOCH_PLOTMANAGEMENT_MAINTAIN_FORCE",count _objects,_requirements select 1,""]; _message2 = format [localize "STR_EPOCH_PLOTMANAGEMENT_MAINTAIN_FORCE",count _objects,_requirements select 1,""];
}; };
if (_count != count _objects) then { if (_count != count _objects) then {
if (DZE_permanentPlot) then { _line2 ctrlSetText _message2;
_line2 ctrlSetText _message2;
} else {
_message2 call dayz_rollingMessages;
};
}; };
}; };
}; };