From 945aec01872e707fc5e3095ee10599ba758223f0 Mon Sep 17 00:00:00 2001 From: John Cote Date: Mon, 30 Dec 2019 21:38:26 -0500 Subject: [PATCH] coghq: y tho --- toontown/coghq/InGameEditor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toontown/coghq/InGameEditor.py b/toontown/coghq/InGameEditor.py index 936437e..ef9cb50 100644 --- a/toontown/coghq/InGameEditor.py +++ b/toontown/coghq/InGameEditor.py @@ -89,7 +89,8 @@ class InGameEditor(AppShell): menuBar.addmenuitem('Entity', 'separator') permanentTypes = self.level.entTypeReg.getPermanentTypeNames() entTypes = list(self.level.entTypes) - list(map(entTypes.remove, permanentTypes)) + for permanentType in permanentTypes: + entTypes.remove(permanentType) entTypes.sort() numEntities = len(entTypes) cascadeMenu = ''