From 40c166fcca2e1fd2e4207d64f5bf07c0796c75e5 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 17 Aug 2024 10:57:23 -0700 Subject: [PATCH] mistake from clippy changes! --- rox_compiler/src/decompile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rox_compiler/src/decompile.rs b/rox_compiler/src/decompile.rs index 54c9539..d800216 100644 --- a/rox_compiler/src/decompile.rs +++ b/rox_compiler/src/decompile.rs @@ -234,7 +234,7 @@ impl DecompiledContext{ WriteStackInstruction::Node(node,name_count)=>{ //track properties that must be overriden to compile folder structure back into a place file let mut properties=PropertiesOverride::default(); - let has_children=node.children.is_empty(); + let has_children=!node.children.is_empty(); match node.class{ Class::Folder=>(), Class::ModuleScript=>(),//.lua files are ModuleScript by default