From 7200c5bbcd9cadd49e8f5cb7713b4c433c6efd38 Mon Sep 17 00:00:00 2001 From: John Cote Date: Mon, 30 Dec 2019 18:34:25 -0500 Subject: [PATCH] makeatoon: fix glitchy names --- toontown/makeatoon/NameGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/makeatoon/NameGenerator.py b/toontown/makeatoon/NameGenerator.py index e229890..615722d 100644 --- a/toontown/makeatoon/NameGenerator.py +++ b/toontown/makeatoon/NameGenerator.py @@ -48,7 +48,7 @@ class NameGenerator: if currentLine.lstrip()[0:1] != b'#': a1 = currentLine.find(b'*') a2 = currentLine.find(b'*', a1 + 1) - self.nameDictionary[int(currentLine[0:a1])] = (int(currentLine[a1 + 1:a2]), currentLine[a2 + 1:len(currentLine) - 1].decode('utf-8')) + self.nameDictionary[int(currentLine[0:a1])] = (int(currentLine[a1 + 1:a2]), currentLine[a2 + 1:].rstrip().decode('utf-8')) currentLine = input.readline() masterList = [self.boyTitles,