Skip to content

Commit

Permalink
possible fix for #3 crash when showing passport
Browse files Browse the repository at this point in the history
  • Loading branch information
McDiod committed Feb 9, 2020
1 parent c1b1252 commit 4b54933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/fn_initModule.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ private _showPassportAction = [
QGVAR(showPassportAction),
"Show ID Card",
"",
{_this call FUNC(showPassport)},
{[FUNC(showPassport),_this] call CBA_fnc_execNextFrame},
{alive (_this select 0) && !((_this select 0) getVariable ["ACE_isUnconscious",false])}
] call ace_interact_menu_fnc_createAction;
["CAManBase",0,["ACE_MainActions"],_showPassportAction,true] call ace_interact_menu_fnc_addActionToClass;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
}
],
"description": "Adds ID cards / passports to the game that can be checked/shown with ACE Interaction.",
"version": "0.0.3"
"version": "0.0.4"
}

0 comments on commit 4b54933

Please sign in to comment.