Fix missing string sign when checking if os is windows

This commit is contained in:
2025-09-16 16:28:43 +02:00
committed by GitHub
parent 97fcc1c7d8
commit e34ce31986

View File

@@ -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()