
/*
	FILE: fnc_canCloseBreech.sqf

	Name: tbd_m119_m119_fnc_canCloseBreech

	Author(s):
		ilbinek

	Description:
		Checks if the M119 can close the breech

	Parameters:
		_arty	- object	- M119 to be canCloseBreeched

	Returns:
		bool - true if the breech can be closed, false otherwise
	
	Examples:
		> [_arty] call tbd_m119_m119_fnc_canCloseBreech;

	Public:
		No
*/

#include "..\script_component.hpp"

params ["_arty"];

private _ret = _arty getVariable [QGVAR(breech), false] && _arty animationSourcePhase "open_breech_source" == 1;
_ret
