fix comment
This commit is contained in:
parent
6ee58224c1
commit
6ab2e81468
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue