From 3088e0455bc9b910130e6fd241d8c72080c1855e Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 13 Jul 2019 18:58:29 -0600 Subject: [PATCH] match dedmen's suggested change --- addons/ui_units/config.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/ui_units/config.cpp b/addons/ui_units/config.cpp index a82f7448ae..ae52cc8fa0 100644 --- a/addons/ui_units/config.cpp +++ b/addons/ui_units/config.cpp @@ -45,7 +45,12 @@ class GVAR(alt): RscText { class GVAR(speed): RscText { style = 1; - colorText[] = {"(profileNamespace getVariable ['IGUI_TEXT_RGB_R',0])", "(profileNamespace getVariable ['IGUI_TEXT_RGB_G',1])", "(profileNamespace getVariable ['IGUI_TEXT_RGB_B',1])", "(profileNamespace getVariable ['IGUI_TEXT_RGB_A',0.8])"}; + colorText[] = { + "(profileNamespace getVariable ['IGUI_TEXT_RGB_R',0])", + "(profileNamespace getVariable ['IGUI_TEXT_RGB_G',1])", + "(profileNamespace getVariable ['IGUI_TEXT_RGB_B',1])", + "(profileNamespace getVariable ['IGUI_TEXT_RGB_A',0.8])" + }; text = "9999"; x = 6.3 * GUI_GRID_W + (profileNamespace getVariable ["IGUI_GRID_VEHICLE_X", (safezoneX + 0.5 * GUI_GRID_W)]); y = 1.3 * GUI_GRID_H + (profileNamespace getVariable ["IGUI_GRID_VEHICLE_Y", (safezoneY + 0.5 * GUI_GRID_H)]);