def sendToonJoinResponse(self, toonId, joined): # since toons can join mid-activity, make sure to add to scores dictionary if needed if joined: if not self.toonIdsToScores.has_key(toonId): self.toonIdsToScores[toonId] = 0 DistributedPartyActivityAI.sendToonJoinResponse(self, toonId, joined) # number of players changed, start a new generation of drops self._setUpNextGenScheduleTask(globalClock.getRealTime() - self.activityStartTime)