Browse Source

#31

ai-migration
みてるぞ 3 weeks ago
parent
commit
49661dad71
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      test.py

+ 1
- 2
test.py View File

@@ -178,7 +178,6 @@ class Game:
pygame.display.update () pygame.display.update ()
self.clock.tick (FPS) self.clock.tick (FPS)



def _create_sky ( def _create_sky (
self, self,
) -> None: ) -> None:
@@ -375,7 +374,6 @@ class Deerjika (Creature):
and not self.talking): and not self.talking):
self.read_out () self.read_out ()



def talk ( def talk (
self, self,
query: str, query: str,
@@ -740,6 +738,7 @@ class Broadcast:
if not self.chat.is_alive (): if not self.chat.is_alive ():
return None return None
chats = self.chat.get ().items chats = self.chat.get ().items
print (chats)
if not chats: if not chats:
return None return None
return random.choice (chats) return random.choice (chats)


Loading…
Cancel
Save