From 3be32fa49dd9de03b2b08fdd9f0c83e39bf34b55 Mon Sep 17 00:00:00 2001 From: Bill Tyros Date: Tue, 23 May 2023 13:57:45 -0400 Subject: [PATCH] Fix missing self to access linedefs instance variable --- omg/mapedit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omg/mapedit.py b/omg/mapedit.py index 3aea584..4eded0a 100644 --- a/omg/mapedit.py +++ b/omg/mapedit.py @@ -349,7 +349,7 @@ def to_lumps(self): m["_HEADER_"] = self.header m["VERTEXES"] = Lump(join([x.pack() for x in self.vertexes])) m["THINGS" ] = Lump(join([x.pack() for x in self.things ])) - m["LINEDEFS"] = Lump(join([x.pack() for x in linedefs ])) + m["LINEDEFS"] = Lump(join([x.pack() for x in self.linedefs])) m["SIDEDEFS"] = Lump(join([x.pack() for x in self.sidedefs])) m["SECTORS" ] = Lump(join([x.pack() for x in self.sectors ])) m["NODES"] = Lump(join([x.pack() for x in self.nodes ]))