From d2aea84f8abf664db4d825c35bbef99a040f7c3c Mon Sep 17 00:00:00 2001 From: Open Toontown <57279094+opentoontown@users.noreply.github.com> Date: Sun, 16 Jan 2022 15:58:39 -0500 Subject: [PATCH] toon: Fix crash with DistributedNPCBlocker --- toontown/toon/DistributedNPCBlocker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/toon/DistributedNPCBlocker.py b/toontown/toon/DistributedNPCBlocker.py index 975985e..d866b3b 100644 --- a/toontown/toon/DistributedNPCBlocker.py +++ b/toontown/toon/DistributedNPCBlocker.py @@ -21,7 +21,7 @@ class DistributedNPCBlocker(DistributedNPCToonBase): def initToonState(self): self.setAnimState('neutral', 0.9, None, None) - posh = NPCToons.BlockerPositions[self.name] + posh = NPCToons.BlockerPositions[self._name] self.setPos(posh[0]) self.setH(posh[1]) return