mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
gunner to lowercase
This commit is contained in:
parent
72b262f634
commit
6d9068e306
@ -36,11 +36,11 @@ if (_unit isKindOf "CAManBase") then {
|
||||
};
|
||||
} else {
|
||||
// The unit is a vehicle
|
||||
private _Gunner = [_unit, _weapon] call EFUNC(common,getGunner);
|
||||
if (_Gunner == ACE_player) then {
|
||||
private _gunner = [_unit, _weapon] call EFUNC(common,getGunner);
|
||||
if (_gunner == ACE_player) then {
|
||||
["firedPlayerVehicle", this] call FUNC(localEvent);
|
||||
} else {
|
||||
if ([_Gunner] call EFUNC(common,isPlayer)) then {
|
||||
if ([_gunner] call EFUNC(common,isPlayer)) then {
|
||||
["firedPlayerVehicleNonLocal", this] call FUNC(localEvent);
|
||||
} else {
|
||||
["firedNonPlayerVehicle", this] call FUNC(localEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user