Fixed missile module ammo picker not showing damage type icons.

This commit is contained in:
Alexander Maryanovsky
2018-09-12 23:52:31 +03:00
parent b77a577c06
commit 8e41a90f57

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)