Fix combat in vehicles

This commit is contained in:
icomrade
2016-09-10 15:34:54 -04:00
parent ed3227fa7a
commit 14bf9f9018
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
private ["_amm"];
_amm=_this select 4;
_this call (call compile GetText (configFile >> "CfgAmmo" >> _amm >> "muzzleEffect"));
//Handle combat in vehicle
player setVariable ["inCombat", 1, true];
player setVariable["combattimeout", diag_tickTime + 30, false];