Fix bug with asmx compilation

stinkhead7ds
Ashley N. 2023-09-23 12:07:34 -04:00
parent 62fcb599cc
commit 9d461a6c41
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ pub fn get_code( tilemap: &TiledTilemap, level_name: &str, path_prefix: &str ) -
let attribute_ids: Vec<String> = attribute_ids[ component_id ].iter().map( | string | string.clone() ).collect(); let attribute_ids: Vec<String> = attribute_ids[ component_id ].iter().map( | string | string.clone() ).collect();
for i in 0..attribute_ids.len() { 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 );
} }
} }