Minor fixes
This commit is contained in:
@@ -168,7 +168,6 @@ class Drakora():
|
||||
for cloudGroup in self.cloudGroups: cloudGroup.draw(self.screen)
|
||||
self.enemies.draw(self.screen)
|
||||
self.players.draw(self.screen)
|
||||
self.floors.draw(self.screen)
|
||||
|
||||
if self.drawBoxes:
|
||||
for player in self.players:
|
||||
|
||||
+3
-2
@@ -190,8 +190,9 @@ class EndSceen():
|
||||
elif event.key == pygame.K_BACKSPACE:
|
||||
self.playerName = self.playerName[:len(self.playerName) - 1]
|
||||
|
||||
elif len(pygame.key.name(event.key)) == 1 and
|
||||
len(self.playerName) < 10:
|
||||
elif len(
|
||||
pygame.key.name(event.key)
|
||||
) == 1 and len(self.playerName) < 10:
|
||||
if pygame.key.get_mods() & pygame.KMOD_LSHIFT:
|
||||
self.playerName += pygame.key.name(event.key).upper()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user