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();