From 83d2ddbc6ba596ad0849f12682b1e50189bcd7c9 Mon Sep 17 00:00:00 2001 From: Giovani Date: Tue, 6 Jul 2021 15:16:05 -0400 Subject: [PATCH] refactor: remove unneeded pass --- tetris/game.py | 3 +-- tetris/online.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tetris/game.py b/tetris/game.py index 854a883..64b7090 100644 --- a/tetris/game.py +++ b/tetris/game.py @@ -24,7 +24,6 @@ class Game: def initialize(self) -> None: pygame.init() - MultiplayerService.init() TextGenerator.load(ConfigurationManager.get("image", "font"), (20, 20)) win_width = ConfigurationManager.get("window", "width") @@ -47,7 +46,7 @@ class Game: main_music_file = ConfigurationManager.get("sound", "main-music") self.main_music.set_volume(0.7) # TODO add volume to the config - #self.main_music.play(mixer.Sound(main_music_file), -1) + self.main_music.play(mixer.Sound(main_music_file), -1) # gets called from the games main loop def update(self) -> None: diff --git a/tetris/online.py b/tetris/online.py index 5774037..be9c996 100644 --- a/tetris/online.py +++ b/tetris/online.py @@ -139,7 +139,6 @@ class PieceDto(): self.x = x self.y = y self.type = type_ - pass @staticmethod def create(data: Dict) -> "PieceDto":