convert int IDs to strings
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user