mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed a typo
This commit is contained in:
parent
965e45a53c
commit
4c0bed609e
@ -44,7 +44,7 @@ _offset = 0;
|
||||
} forEach _FCSMagazines;
|
||||
|
||||
// Correct velocity for weapons that have initVelocity
|
||||
_velocityCorrection = if (getNumber(configFile >> "CfgMagazines" >> _weapon >> "initSpeed") > 0) then {
|
||||
_velocityCorrection = if (getNumber(configFile >> "CfgWeapons" >> _weapon >> "initSpeed") > 0) then {
|
||||
(vectorMagnitude velocity _projectile) - getNumber(configFile >> "CfgMagazines" >> _magazine >> "initSpeed")
|
||||
} else {
|
||||
0
|
||||
|
Loading…
Reference in New Issue
Block a user