mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 23:20:50 +03:00
Fix door and plot management display text for mustBeClose
Also removed unneeded uiNamespace vars.
This commit is contained in:
@@ -10,7 +10,6 @@ class AT_Zupa_BlueButton: ZSC_RscButtonMenu {
|
||||
class AdvancedTrading
|
||||
{
|
||||
idd = 711197;
|
||||
onLoad = "uiNamespace setVariable ['AdvancedTrading', _this select 0]";
|
||||
class Controls {
|
||||
class RscText_ATBackground1: ZSC_RscText
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class DoorManagement
|
||||
{
|
||||
idd = 711195;
|
||||
onLoad = "uiNamespace setVariable ['DoorManagement', _this select 0]";
|
||||
onLoad = "if (DZE_doorManagementMustBeClose) then {(_this select 0) displayCtrl 7108 ctrlSetText localize 'STR_EPOCH_HUMANS_NEARBY';};";
|
||||
class Controls {
|
||||
class RscText_7100: ZSC_RscTextT
|
||||
{
|
||||
@@ -80,7 +80,7 @@ class DoorManagement
|
||||
class RscText_7108: ZSC_RscTextT
|
||||
{
|
||||
idc = 7108;
|
||||
text = $STR_EPOCH_HUMANS_NEARBY;
|
||||
text = $STR_MP_PLAYERS;
|
||||
x = 0.31 * safezoneW + safezoneX;
|
||||
y = 0.38 * safezoneH + safezoneY;
|
||||
w = 0.13 * safezoneW;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class PlotManagement
|
||||
{
|
||||
idd = 711194;
|
||||
onLoad = "uiNamespace setVariable ['PlotManagement', _this select 0]";
|
||||
onLoad = "if (DZE_plotManagementMustBeClose) then {(_this select 0) displayCtrl 7015 ctrlSetText localize 'STR_EPOCH_HUMANS_NEARBY';};";
|
||||
class Controls {
|
||||
class RscText_7000: ZSC_RscTextT
|
||||
{
|
||||
@@ -92,8 +92,8 @@ class PlotManagement
|
||||
|
||||
class RscText_7008: ZSC_RscTextT
|
||||
{
|
||||
idc = -1;
|
||||
text = $STR_EPOCH_HUMANS_NEARBY;
|
||||
idc = 7015;
|
||||
text = $STR_MP_PLAYERS;
|
||||
x = 0.31 * safezoneW + safezoneX;
|
||||
y = 0.38 * safezoneH + safezoneY;
|
||||
w = 0.13 * safezoneW;
|
||||
|
||||
Reference in New Issue
Block a user