From 85864650e73e8eada2a57d842517f5addfc53f99 Mon Sep 17 00:00:00 2001 From: Filip Maciejewski Date: Tue, 3 Sep 2024 03:45:40 +0200 Subject: [PATCH] More command casing changes --- .hemtt/lints.toml | 1 + addons/extension_main_menu/XEH_mainDisplay.sqf | 6 +++--- addons/spectator/functions/RscDisplayEGSpectator.sqf | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.hemtt/lints.toml b/.hemtt/lints.toml index 5456676..835f0b6 100644 --- a/.hemtt/lints.toml +++ b/.hemtt/lints.toml @@ -6,6 +6,7 @@ options.ignore = [ "WEST", "EAST", "INDEPENDENT", + "RESISTANCE", "CIVILIAN", "getVehicleTiPars", "setVehicleTiPars", diff --git a/addons/extension_main_menu/XEH_mainDisplay.sqf b/addons/extension_main_menu/XEH_mainDisplay.sqf index 3812be9..9aa1815 100644 --- a/addons/extension_main_menu/XEH_mainDisplay.sqf +++ b/addons/extension_main_menu/XEH_mainDisplay.sqf @@ -14,9 +14,9 @@ params ["_display"]; TRACE_1("Main display",_display); -_display displayaddeventhandler ["mouseMoving", {with uinamespace do {call FUNC(onLoad)}}]; -_display displayaddeventhandler ["mouseHolding",{with uinamespace do {call FUNC(onLoad)}}]; -_display displayaddeventhandler ["childDestroyed",{with uinamespace do {call FUNC(onUnload)}}]; +_display displayAddEventHandler ["mouseMoving", {with uiNamespace do {call FUNC(onLoad)}}]; +_display displayAddEventHandler ["mouseHolding",{with uiNamespace do {call FUNC(onLoad)}}]; +_display displayAddEventHandler ["childDestroyed",{with uiNamespace do {call FUNC(onUnload)}}]; _display call FUNC(addServerStatusPanel); diff --git a/addons/spectator/functions/RscDisplayEGSpectator.sqf b/addons/spectator/functions/RscDisplayEGSpectator.sqf index 3f9527d..f7c029d 100644 --- a/addons/spectator/functions/RscDisplayEGSpectator.sqf +++ b/addons/spectator/functions/RscDisplayEGSpectator.sqf @@ -263,13 +263,13 @@ switch _mode do private _tooltip = if (isPlayer _unit) then { format ["%1 - %2", _name, _groupId] } else { format ["%1: %2 - %3", localize "str_player_ai", _name, _groupId] }; private _i = ["TreeGetDataIndex", [[_unit] call BIS_fnc_objectVar]] call (uiNamespace getVariable ["RscDisplayEGSpectator_script", {}]); private _unitIndex = if (count _i > 0) then {_i select 1} else {-1}; - private _unitIcon = getText (configfile >> "CfgVehicles" >> typeOf _unit >> "icon"); + private _unitIcon = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "icon"); private _texture = switch (true) do { case (!_isAlive) : { ICON_DEAD }; case (_isIncapacitated) : { ICON_REVIVE }; - default { if (_unitIcon != "") then {getText (configfile >> "CfgVehicleIcons" >> _unitIcon)} else {""} }; + default { if (_unitIcon != "") then {getText (configFile >> "CfgVehicleIcons" >> _unitIcon)} else {""} }; }; if (_i isEqualTo []) then