convert int IDs to strings

This commit is contained in:
2020-06-18 14:44:20 +01:00
parent e895f932a6
commit fe6f3f5c84
7 changed files with 57 additions and 56 deletions

View File

@@ -273,7 +273,7 @@ impl ToString for Game {
}
for sprite in &self.sprites {
if is_string_numeric(sprite.id.to_base36()) {
if is_string_numeric(sprite.id.clone()) {
segments.push(sprite.to_string());
}
}
@@ -281,7 +281,7 @@ impl ToString for Game {
segments.push(self.avatar.to_string().replace("SPR a", "SPR A"));
for sprite in &self.sprites {
if !is_string_numeric(sprite.id.to_base36()) {
if !is_string_numeric(sprite.id.clone()) {
segments.push(sprite.to_string());
}
}