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