Debug / Krypto Fix

This commit is contained in:
He-Man 2020-01-08 19:45:49 +01:00
parent 7e07bebd20
commit 5a6af1927b

View File

@ -171,9 +171,13 @@ if (EPOCH_debugMode) then {
private _val = missionNamespace getVariable [_varName,_defaultVarValues select _forEachIndex]; private _val = missionNamespace getVariable [_varName,_defaultVarValues select _forEachIndex];
if (_x == "Temp") then { if (_x == "Temp") then {
_customVars = _customVars + format["<t size='1.15' font='puristaLight' align='left'>%1: </t><t size='1.15' font='puristaLight' align='right'>%2°F | %3°C</t><br/>", _x,_val,_val call EPOCH_convertTemp]; _customVars = _customVars + format["<t size='1.15' font='puristaLight' align='left'>%1: </t><t size='1.15' font='puristaLight' align='right'>%2°F | %3°C</t><br/>", _x,_val,_val call EPOCH_convertTemp];
} else {
if (_x == "Crypto") then {
_customVars = _customVars + format["<t size='1.15' font='puristaLight' align='left'>%1: </t><t size='1.15' font='puristaLight' align='right'>%2</t><br/>", _x,Epoch_PlayerCrypto];
} else { } else {
_customVars = _customVars + format["<t size='1.15' font='puristaLight' align='left'>%1: </t><t size='1.15' font='puristaLight' align='right'>%2</t><br/>", _x,_val]; _customVars = _customVars + format["<t size='1.15' font='puristaLight' align='left'>%1: </t><t size='1.15' font='puristaLight' align='right'>%2</t><br/>", _x,_val];
}; };
};
} }
}forEach _customVarNames; }forEach _customVarNames;
hintSilent parseText format [" hintSilent parseText format ["