Update addons/frag/functions/fnc_dev_trackObj.sqf

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
This commit is contained in:
lambdatiger 2024-01-15 13:40:03 -06:00 committed by GitHub
parent 63cd1ed06a
commit 83bbc3070b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ params [
TRACE_4("devDraw",_this,_obj,_color,_isProj);
// pick color and add it to the array
private _colorArray = switch (toLower _color) do {
private _colorArray = switch (toLowerANSI _color) do {
case "purple": {[0.8, 0, 0.8, 1]};
case "blue": {[0, 0, 0.8, 1]};
case "green": {[0, 0.8, 0, 1]};