mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Handle undefined display for ZSC gui
This commit is contained in:
@@ -328,6 +328,7 @@ if (dayz_humanitytarget != _string) then {
|
|||||||
// ZSC
|
// ZSC
|
||||||
if (Z_singleCurrency) then {
|
if (Z_singleCurrency) then {
|
||||||
_display = uiNameSpace getVariable "ZSC_Money_Display";
|
_display = uiNameSpace getVariable "ZSC_Money_Display";
|
||||||
|
if (isNil "_display") exitWith {}; // not ready
|
||||||
_ctrlZSC = _display displayCtrl 4900;
|
_ctrlZSC = _display displayCtrl 4900;
|
||||||
_string = "";
|
_string = "";
|
||||||
if (Z_showCurrencyUI) then {
|
if (Z_showCurrencyUI) then {
|
||||||
|
|||||||
Reference in New Issue
Block a user