Fix bug with asmx compilation
parent
62fcb599cc
commit
9d461a6c41
|
@ -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();
|
||||
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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue