diff --git a/toontown/parties/DistributedPartyActivity.py b/toontown/parties/DistributedPartyActivity.py index 05c9ed22..025039a5 100755 --- a/toontown/parties/DistributedPartyActivity.py +++ b/toontown/parties/DistributedPartyActivity.py @@ -258,6 +258,10 @@ class DistributedPartyActivity(DistributedObject.DistributedObject): self.signFlatWithNote.stash() self.signTextLocator.stash() + def unloadSign(self): + self.sign.removeNode() + del self.sign + def loadLever(self): self.lever = self.root.attachNewNode('%sLever' % self.activityName) self.leverModel = self.party.defaultLeverModel.copyTo(self.lever) @@ -409,8 +413,9 @@ class DistributedPartyActivity(DistributedObject.DistributedObject): self._disableCollisions() self.signModel.removeNode() del self.signModel - self.sign.removeNode() - del self.sign + if hasattr(self, 'sign'): + self.sign.removeNode() + del self.sign self.ignoreAll() if self.wantLever: self.unloadLever()