From e6845d7a390ae4b5a16bfae5288032edfcb4ef0c Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sat, 18 Apr 2020 13:38:41 +0100 Subject: [PATCH] fix avatar ordering --- src/game.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game.rs b/src/game.rs index 875d847..e950f56 100644 --- a/src/game.rs +++ b/src/game.rs @@ -194,7 +194,9 @@ impl ToString for Game { segments.push(self.avatar.to_string()); for sprite in &self.sprites { - segments.push(sprite.to_string()); + if ! is_string_numeric(sprite.id.to_base36()) { + segments.push(sprite.to_string()); + } } for item in &self.items {