Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix XEH initPost #1719

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/ui/fnc_openItemContextMenu.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ _list setVariable [QFUNC(activate), {
// Keep focus to prevent auto closing.
ctrlSetFocus _list;
} else {
[{ctrlDelete _args}, _list] call CBA_fnc_execNextFrame;
[{ctrlDelete _this}, _list] call CBA_fnc_execNextFrame;
};
};
}];
Expand Down
4 changes: 2 additions & 2 deletions addons/xeh/fnc_init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ if !(ISINITIALIZED(_object)) then {
if (SLX_XEH_MACHINE select 8) then {
[{
{
[_object] call _x;
} forEach (_object getVariable QGVAR(initPost));
[_this] call _x;
} forEach (_this getVariable QGVAR(initPost));
}, _object] call CBA_fnc_execNextFrame;
} else {
GVAR(initPostStack) pushBack _object;
Expand Down