remove numeric check and just do sprites in the order that they were imported
This commit is contained in:
13
src/lib.rs
13
src/lib.rs
@@ -143,19 +143,6 @@ fn segments_from_string(string: String) -> Vec<String> {
|
||||
output
|
||||
}
|
||||
|
||||
/// for some reason the sprites with numeric IDs go first,
|
||||
/// then SPR A (avatar), then all the non-numeric IDs
|
||||
#[inline]
|
||||
fn is_string_numeric(str: String) -> bool {
|
||||
for c in str.chars() {
|
||||
if !c.is_numeric() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// e.g. pass all tile IDs into this to get a new non-conflicting tile ID
|
||||
#[inline]
|
||||
fn new_unique_id(ids: Vec<String>) -> String {
|
||||
|
||||
Reference in New Issue
Block a user