Example #1
0
    def began(self, info=None):
        DefaultMissionsService.began(self, info)
        if self.current_mission is None:
            return

        self.time_left = self.current_mission.duration * 60
        self._timer.start(interval=1, now=False)
        self._set_status(MISSION_STATUS.PLAYING)

        self.cl_client.chat_all(unicode(_("Mission '{0}' is playing.")
                                .format(self.current_mission.name)))
        self.cl_client.chat_all(unicode(self.time_left_verbose_str))
 def began(self, info=None):
     DefaultMissionsService.began(self, info)
 def began(self, info=None):
     DefaultMissionsService.began(self, info)