Fix door and plot management display text for mustBeClose

Also removed unneeded uiNamespace vars.
This commit is contained in:
ebaydayz
2016-11-08 19:27:05 -05:00
parent e3bb7e11b9
commit eedf7dd12c
6 changed files with 25 additions and 30 deletions

View File

@@ -16,5 +16,5 @@ if (_count / DZE_BuildingLimit * 100 > 75) then {
_colour = "#ff0000";
};
_ctrl = ((uiNamespace getVariable "PlotManagement") displayCtrl 7014);
_ctrl = findDisplay 711194 displayCtrl 7014;
_ctrl ctrlSetStructuredText parseText format["<t color='%3'>%1 / %2</t>" , _count, DZE_BuildingLimit,_colour];