
/*
	FILE: fnc_closeBreech.sqf

	Name: tbd_m119_m119_fnc_closeBreech

	Author(s):
		ilbinek

	Description:
		Close the M119 breech

	Parameters:
		_arty	- object	- M119 to be canCloseBreeched

	Returns:
		Nothing
	
	Examples:
		> [_arty] call tbd_m119_m119_fnc_closeBreech;

	Public:
		No
*/

#include "..\script_component.hpp"

params ["_arty"];

if !([_arty] call FUNC(canCloseBrach)) exitWith {};

_arty animateSource ["open_breech_source", 0];
_arty animateSource ["handle_breech_source", 0];
_arty setVariable [QGVAR(breech), false, true];
