removed not needed brackets

This commit is contained in:
Miodrag Milanovic 2024-11-21 14:39:55 +01:00
parent 57d098f952
commit ffb071167b

View File

@ -233,7 +233,7 @@ class TileType(BBAStruct):
def create_wire(self, name: str, type: str="", const_value: str=""):
# Create a new tile wire of a given name and type (optional) in the tile type
gfx_wire_id = 0
if (name) in self.gfx_wire_ids:
if name in self.gfx_wire_ids:
gfx_wire_id = self.gfx_wire_ids[name]
wire = TileWireData(index=len(self.wires),
name=self.strs.id(name),