Skip to content

Commit

Permalink
Close remove helipad dialog after use
Browse files Browse the repository at this point in the history
  • Loading branch information
oiad committed Jul 19, 2017
1 parent e2f0602 commit b4c5160
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/virtualGarage/player_removePad.sqf
@@ -1,6 +1,9 @@
private ["_hasAccess","_heliPad","_objectID","_objectUID","_plotCheck","_typeOf"];
// Written by salival (https://github.com/oiad)

private ["_hasAccess","_heliPad","_objectID","_objectUID","_plotCheck","_typeOf"];

closeDialog 0;

_plotCheck = [player, false] call FNC_find_plots;
_hasAccess = [player,_plotCheck select 2] call FNC_check_access;

Expand Down

0 comments on commit b4c5160

Please sign in to comment.