From 6ab2e814683d5f7e947479496bbd68c84aef570b Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Wed, 24 Jun 2020 12:58:26 +0100 Subject: [PATCH] fix comment --- src/game.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.rs b/src/game.rs index 64616c8..b065bec 100644 --- a/src/game.rs +++ b/src/game.rs @@ -441,7 +441,7 @@ impl Game { new_id } - /// adds a sprite safely and returns the new sprite ID + /// adds an item safely and returns the new item ID #[inline] pub fn add_item(&mut self, mut item: Item) -> String { let new_id = self.new_item_id();