Quick Ammo Switcher

by Banderi

Allows one to quickly load and unload different ammo types without having to fiddle with inventory items.

Tweaks
10 months ago
1.1 - 2.0
572
Combat Storage

b Error when switching ammo

8 months ago
(updated 8 months ago)

Hi!
I was flying on a plane, accidentally pressed the hotkey to switch ammo, and an error popped up.
The plane's inventory was empty.

Error while running event QuickAmmoSwitch::switch_ammo_next (ID 302)
Index out of inventory bounds.
stack traceback:
[C]: in function 'index'
__QuickAmmoSwitch
/control.lua:117: in function 'enumerate'
QuickAmmoSwitch/control.lua:576: in function 'scroll_ammo'
QuickAmmoSwitch/control.lua:617: in function <QuickAmmoSwitch/control.lua:616>

New response