diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-28 22:28:45 +0200 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-28 22:28:45 +0200 |
commit | f894c2fd09ed17540c49cb4083573861ded76554 (patch) | |
tree | cedbe5bab1b5f91b7e3dfb70c17f5114034e700e /src/sliceitoff/game/initials.py | |
parent | f502b21183d307fcab9b353aa18609d15c3547f1 (diff) |
Show as sprite group with update
Diffstat (limited to 'src/sliceitoff/game/initials.py')
-rw-r--r-- | src/sliceitoff/game/initials.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |