diff --git a/decompiler/__init__.py b/decompiler/__init__.py index 12bfea44..9161cac4 100644 --- a/decompiler/__init__.py +++ b/decompiler/__init__.py @@ -282,7 +282,7 @@ def print_camera(self, ast): self.indent() self.write("camera") - if ast.name != "master": + if ast.layer != "master": self.write(" %s" % ast.name) if ast.at_list: