mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_proxyWeapon.sqf
This commit is contained in:
parent
ccb05f8bc7
commit
c45d99b0b0
@ -23,7 +23,7 @@ TRACE_4("proxyWeapon",_vehicle,_turret,_needed,_emptyWeapon);
|
|||||||
|
|
||||||
// addWeaponTurret/removeWeaponTurret need to be executed where turret is local
|
// addWeaponTurret/removeWeaponTurret need to be executed where turret is local
|
||||||
if !(_vehicle turretLocal _turret) exitWith {
|
if !(_vehicle turretLocal _turret) exitWith {
|
||||||
WARNING_1("[%1]'s turret [%2] isn't local, skipping proxy weapon change",_vehicle,_turret);
|
WARNING_2("[%1]'s turret [%2] isn't local, skipping proxy weapon change",_vehicle,_turret);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (_vehicle getVariable [format [QGVAR(proxyHandled_%1), _turret], false]) exitWith { TRACE_1("already handled",typeOf _vehicle); };
|
if (_vehicle getVariable [format [QGVAR(proxyHandled_%1), _turret], false]) exitWith { TRACE_1("already handled",typeOf _vehicle); };
|
||||||
|
Loading…
Reference in New Issue
Block a user