From 9d461a6c41fb3f76f90253de976231f281cdcf23 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 23 Sep 2023 12:07:34 -0400 Subject: [PATCH] Fix bug with asmx compilation --- src/reskit/level/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reskit/level/system.rs b/src/reskit/level/system.rs index d22008c..4721300 100644 --- a/src/reskit/level/system.rs +++ b/src/reskit/level/system.rs @@ -476,7 +476,7 @@ pub fn get_code( tilemap: &TiledTilemap, level_name: &str, path_prefix: &str ) - let attribute_ids: Vec = attribute_ids[ component_id ].iter().map( | string | string.clone() ).collect(); for i in 0..attribute_ids.len() { - constants += &format!( "\t{}_{}_{} = {}\n", level_label_const_caps, component_id.to_uppercase(), attribute_ids[ i ].to_uppercase(), i ); + constants += &format!( "{}_{}_{} = {}\n", level_label_const_caps, component_id.to_uppercase(), attribute_ids[ i ].to_uppercase(), i ); } }