Fixed flipped parameters in Bodyparts class init code, causing issues with mods
This commit is contained in:
LoafyLemon 2023-09-08 20:40:46 +01:00
parent 5d7c09a8a8
commit 7e768adddf

View File

@ -9,7 +9,7 @@ init 1 python:
} }
def __init__(self, name, categories, type, id, zorder=None, unlocked=False, level=0, blacklist=[], parent=None, modpath=None): def __init__(self, name, categories, type, id, zorder=None, unlocked=False, level=0, blacklist=[], parent=None, modpath=None):
super().__init__(name, categories, type, id, None, zorder, unlocked, level, blacklist, parent, modpath) super().__init__(name, categories, type, id, None, zorder, unlocked, level, blacklist, modpath, parent)
def __repr__(self): def __repr__(self):
return f"DollBodypart(name={self.name}, categories={self.categories}, type={self.type}, id={self.id}, color={self.color}, zorder={self.zorder}, unlocked={self.unlocked}, level={self.level}, blacklist={self.blacklist}, parent={self.parent}, modpath={self.modpath or None})" return f"DollBodypart(name={self.name}, categories={self.categories}, type={self.type}, id={self.id}, color={self.color}, zorder={self.zorder}, unlocked={self.unlocked}, level={self.level}, blacklist={self.blacklist}, parent={self.parent}, modpath={self.modpath or None})"