Update fnc_proxyWeapon.sqf

This commit is contained in:
johnb432 2024-08-30 16:19:29 +02:00
parent ccb05f8bc7
commit c45d99b0b0

View File

@ -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); };