toon: Fix crash with DistributedNPCBlocker
This commit is contained in:
parent
e95ab10cef
commit
d2aea84f8a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class DistributedNPCBlocker(DistributedNPCToonBase):
|
||||||
|
|
||||||
def initToonState(self):
|
def initToonState(self):
|
||||||
self.setAnimState('neutral', 0.9, None, None)
|
self.setAnimState('neutral', 0.9, None, None)
|
||||||
posh = NPCToons.BlockerPositions[self.name]
|
posh = NPCToons.BlockerPositions[self._name]
|
||||||
self.setPos(posh[0])
|
self.setPos(posh[0])
|
||||||
self.setH(posh[1])
|
self.setH(posh[1])
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue