fixes missing borrow
This commit is contained in:
parent
a9dd729a2b
commit
bc4f960d88
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ pub fn record_event(event: EVENT) {
|
|||
new_event = format!("Discovered {}", name);
|
||||
}
|
||||
EVENT::Identified(name) => {
|
||||
new_event = format!("Identified {}", crate::gui::with_article(name));
|
||||
new_event = format!("Identified {}", crate::gui::with_article(&name));
|
||||
}
|
||||
EVENT::PlayerDied(str) => {
|
||||
// Generating the String is handled in the death effect, to avoid passing the ecs here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue