From f894c2fd09ed17540c49cb4083573861ded76554 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Thu, 28 Mar 2024 22:28:45 +0200 Subject: Show as sprite group with update --- src/sliceitoff/game/initials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sliceitoff/game/initials.py') diff --git a/src/sliceitoff/game/initials.py b/src/sliceitoff/game/initials.py index 5b25195..a317dd9 100644 --- a/src/sliceitoff/game/initials.py +++ b/src/sliceitoff/game/initials.py @@ -38,7 +38,7 @@ class Initials(pygame.sprite.Group): self.name = self.name [:-1] elif pygame.key.name(event.key): self.name += pygame.key.name(event.key)[0].upper() - self.name = self.name[:8] + self.name = self.name[:3] self.empty() self.add(initials_screen(self.name)) return True -- cgit v1.2.3