Skip to content

Commit

Permalink
Fixed marker color is not correctly detected
Browse files Browse the repository at this point in the history
tekig committed Jul 11, 2021
1 parent 53ff898 commit 77efe4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/@ocap/addons/ocap/functions/fn_handleMarkers.sqf
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ ocap_markers_handle = ["ocap_handleMarker", {
if (_color == "Default") then {
_mrk_color = (configfile >> "CfgMarkers" >> _type >> "color") call BIS_fnc_colorConfigToRGBA call bis_fnc_colorRGBtoHTML;
} else {
_mrk_color = getarray (configfile >> "CfgMarkerColors" >> _color >> "color") call bis_fnc_colorRGBtoHTML;
_mrk_color = (configfile >> "CfgMarkerColors" >> _color >> "color") call BIS_fnc_colorConfigToRGBA call bis_fnc_colorRGBtoHTML;
};

private ["_sideOfMarker"];

0 comments on commit 77efe4f

Please sign in to comment.