Skip to content

Commit

Permalink
Aircraft - Disable scripted eject if vehicle is locked (#6096)
Browse files Browse the repository at this point in the history
* Add lock check

* Delete seat lock check
  • Loading branch information
Dystopian authored and jonpas committed Feb 4, 2018
1 parent 2750446 commit f0a2b68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/aircraft/functions/fnc_canShowEject.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
params ["_unit", "_vehicle"];

_vehicle == vehicle _unit
&& {2 > locked _vehicle}
&& {
private _ejectVarName = "";
{
Expand Down

0 comments on commit f0a2b68

Please sign in to comment.