mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update addons/csw/functions/fnc_proxyWeapon.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
56af6f3ceb
commit
ccb05f8bc7
@ -23,7 +23,7 @@ TRACE_4("proxyWeapon",_vehicle,_turret,_needed,_emptyWeapon);
|
||||
|
||||
// addWeaponTurret/removeWeaponTurret need to be executed where turret is local
|
||||
if !(_vehicle turretLocal _turret) exitWith {
|
||||
TRACE_1("turret not local",_vehicle);
|
||||
WARNING_1("[%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); };
|
||||
|
Loading…
Reference in New Issue
Block a user