Skip to content

Commit

Permalink
More command casing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Sep 3, 2024
1 parent eed6ff7 commit 8586465
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .hemtt/lints.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ options.ignore = [
"WEST",
"EAST",
"INDEPENDENT",
"RESISTANCE",
"CIVILIAN",
"getVehicleTiPars",
"setVehicleTiPars",
Expand Down
6 changes: 3 additions & 3 deletions addons/extension_main_menu/XEH_mainDisplay.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions addons/spectator/functions/RscDisplayEGSpectator.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8586465

Please sign in to comment.