mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Increase max weapon index for large modsets (#5054)
This commit is contained in:
@ -56,7 +56,7 @@ if (inputAction "nextWeapon" > 0) then {
|
||||
// switch to last mode
|
||||
_index = 0;
|
||||
while {
|
||||
_index < 100 && {currentMuzzle _unit != _weapon || {currentWeaponMode _unit != _mode}}
|
||||
_index < 299 && {currentMuzzle _unit != _weapon || {currentWeaponMode _unit != _mode}}
|
||||
} do {
|
||||
_unit action ["SwitchWeapon", _unit, _unit, _index];
|
||||
_index = _index + 1;
|
||||
|
Reference in New Issue
Block a user