Mercurial > zrpn
changeset 87:d0b93b886f40
font for score works in client now.
| author | Rene Dudfield <renesd@gmail.com> |
|---|---|
| date | Sun, 08 Jul 2012 14:29:50 +0200 |
| parents | 39d3e21551ad |
| children | d142c245fd31 |
| files | zrpn/client.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/zrpn/client.py Sun Jul 08 14:27:32 2012 +0200 +++ b/zrpn/client.py Sun Jul 08 14:29:50 2012 +0200 @@ -27,7 +27,7 @@ self.client = net.Client() self.connection = self.client.connect(address, port) - self.font = data_dir("GoodDog.otf") + self.font = pygame.font.Font(data_dir("GoodDog.otf"), 16) self.lbl_time = sgc.Label(pos=(0, 0), text="time\nwasted=\n0", font=self.font) self.lbl_score = sgc.Label(pos=(0, 70), text="score=\n0", font=self.font)
