diff --git a/game/physics_playground/game.py b/game/physics_playground/game.py index 071936d..df8f064 100644 --- a/game/physics_playground/game.py +++ b/game/physics_playground/game.py @@ -134,7 +134,7 @@ class Game(arcade.gui.UIView): self.settings_box.add(arcade.gui.UILabel("Inventory", font_size=18)) self.inventory_grid = self.settings_box.add(BodyInventory(self.window.width, self.window.height, "crate", {"crate": ":resources:images/tiles/boxCrate_double.png", "coin": ":resources:images/items/coinGold.png"})) - if os.name == "nt: + if os.name == "nt": self.add_custom_body_button = self.settings_box.add(arcade.gui.UITextureButton(text="Add custom body from SVG", size_hint=(1, 0.1), width=self.window.width * 0.2, height=self.window.height * 0.1)) self.add_custom_body_button.on_click = lambda event: self.custom_body_ui() @@ -448,4 +448,4 @@ class Game(arcade.gui.UIView): def on_show_view(self): super().on_show_view() - self.create_wall((self.window.width * 0.8), 80, 0, 0) \ No newline at end of file + self.create_wall((self.window.width * 0.8), 80, 0, 0)