optional sprites for entities
This commit is contained in:
parent
cee4d02ce2
commit
d58614b106
13 changed files with 48 additions and 37 deletions
|
|
@ -1553,7 +1553,7 @@ pub fn game_over(ctx: &mut BTerm) -> YesNoResult {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn with_article(name: String) -> String {
|
||||
pub fn with_article(name: &String) -> String {
|
||||
// If first letter is a capital
|
||||
if name.chars().nth(0).unwrap().is_uppercase() {
|
||||
return format!("{}", name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue