Add support for having a contextMenu class add more then a single entry, start
work on damage pattern selection menu
This commit is contained in:
@@ -122,9 +122,9 @@ class FittingView(d.Display):
|
||||
if sel != -1:
|
||||
mod = self.mods[self.GetItemData(sel)]
|
||||
if not mod.isEmpty:
|
||||
contexts.add("module")
|
||||
contexts.append("module")
|
||||
if mod.charge is not None and "ammo" not in contexts:
|
||||
contexts.add("ammo")
|
||||
contexts.append("ammo")
|
||||
|
||||
selection.append(mod)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user