diff --git a/toontown/toon/DistributedToonAI.py b/toontown/toon/DistributedToonAI.py index ab78b47f..23330411 100755 --- a/toontown/toon/DistributedToonAI.py +++ b/toontown/toon/DistributedToonAI.py @@ -4843,7 +4843,7 @@ def dna(part, value): return 'Bottom texture color index set to: ' + str(dna.botTexColor) if part == 'show': - return dna.asTuple() + return dna.asNpcTuple() if value else dna.asTuple() if part == 'showrandom': return NPCToons.getRandomDNA(time.time(), value) return 'Invalid part: ' + part diff --git a/toontown/toon/ToonDNA.py b/toontown/toon/ToonDNA.py index 0c326aa5..cdf58fdd 100755 --- a/toontown/toon/ToonDNA.py +++ b/toontown/toon/ToonDNA.py @@ -2703,6 +2703,22 @@ class ToonDNA: self.sleeveTexColor, self.botTex, self.botTexColor) + + def asNpcTuple(self): + return (self.head, + self.torso, + self.legs, + self.gender, + allColorsList.index(self.armColor), + allColorsList.index(self.gloveColor), + allColorsList.index(self.legColor), + allColorsList.index(self.headColor), + self.topTex, + self.topTexColor, + self.sleeveTex, + self.sleeveTexColor, + self.botTex, + self.botTexColor) def getType(self): if self.type == 't':