fix comment
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user