Allow Subsystems as modules.
This commit is contained in:
@@ -84,7 +84,7 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
|
||||
|
||||
def build(self):
|
||||
"""Builds internal module variables from both init's"""
|
||||
if self.__item and self.__item.category.name != "Module" and self.__item.group.name != "Effect Beacon":
|
||||
if self.__item and self.__item.category.name not in ("Module", "Subsystem") and self.__item.group.name != "Effect Beacon":
|
||||
self.__invalid = True
|
||||
if self.__charge and self.__charge.category.name != "Charge":
|
||||
self.__charge = None
|
||||
|
||||
Reference in New Issue
Block a user