(self)
| 2755 | anchor_x='center', anchor_y='center', batch=batch) |
| 2756 | self.update() |
| 2757 | def update(self): |
| 2758 | if not mode.started and update_available: |
| 2759 | str_list = [] |
| 2760 | str_list.append(_('An update is available (')) |
| 2761 | str_list.append(str(update_version)) |
| 2762 | str_list.append(_('). Press W to open web site')) |
| 2763 | self.label.text = ''.join(str_list) |
| 2764 | else: self.label.text = '' |
| 2765 | |
| 2766 | # this is the black text above the field |
| 2767 | class GameModeLabel: |