このコミットが含まれているのは:
2024-12-24 01:39:08 +09:00
コミット 49661dad71
+1 -2
ファイルの表示
@@ -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)