Merge pull request #1738 from m-sasha/missile-ammo-picker-fix

Fixed missile module ammo picker not showing damage type icons.
This commit is contained in:
Ryan Holmes
2018-09-17 00:30:06 -04:00
committed by GitHub

View File

@@ -195,7 +195,7 @@ class ModuleAmmoPicker(ContextMenu):
type_ = currType
item = wx.MenuItem(m, wx.ID_ANY, type_.capitalize())
bitmap = BitmapLoader.getBitmap("%s_small" % type, "gui")
bitmap = BitmapLoader.getBitmap("%s_small" % type_, "gui")
if bitmap is not None:
item.SetBitmap(bitmap)