Fix for Marker

This commit is contained in:
He-Man 2017-10-19 19:22:44 +02:00
parent 96f72fc98a
commit b28ed47141

View File

@ -84,7 +84,7 @@ if(isNil {Epoch_markerCounter})then{Epoch_markerCounter = 0};
_mName setMarkerDirLocal _mDir; _mName setMarkerDirLocal _mDir;
if (!(_OverrideTxt isequalto "") && _OverrideTxt isequaltype "") then { if (!(_OverrideTxt isequalto "") && _OverrideTxt isequaltype "") then {
_mName setMarkerText _OverrideTxt; _mName setMarkerTextlocal _OverrideTxt;
} }
else { else {
if(_mText isEqualTo "playerName")then{ if(_mText isEqualTo "playerName")then{
@ -92,7 +92,7 @@ if(isNil {Epoch_markerCounter})then{Epoch_markerCounter = 0};
}; };
if!(_mText isEqualTo "")then{ if!(_mText isEqualTo "")then{
_ccText = call compile _mText; _ccText = call compile _mText;
_mName setMarkerText _ccText; _mName setMarkerTextlocal _ccText;
}; };
}; };