fix comment

This commit is contained in:
Max Bradbury 2020-06-24 12:58:26 +01:00
parent 6ee58224c1
commit 6ab2e81468
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ impl Game {
new_id new_id
} }
/// adds a sprite safely and returns the new sprite ID /// adds an item safely and returns the new item ID
#[inline] #[inline]
pub fn add_item(&mut self, mut item: Item) -> String { pub fn add_item(&mut self, mut item: Item) -> String {
let new_id = self.new_item_id(); let new_id = self.new_item_id();