From 4d0d80e7de6ce85e30aaa6416ccd80973c6748ab Mon Sep 17 00:00:00 2001 From: CensoredUsername Date: Thu, 22 Feb 2024 03:35:33 +0100 Subject: [PATCH] Fix wrong attribute used in the camera statement. --- decompiler/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: