diff --git a/CHANGELOG.md b/CHANGELOG.md index df42081d88..a7655fc9af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,7 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Some sprites can be sat on. - Pet birds can now sit on the player's shoulder as they explore the world. - Adlet caves -- Durability free areas (`/area_add no_dura ...`) +- Durability free areas (`/area_add no_durability ...`) ### Changed diff --git a/common/src/cmd.rs b/common/src/cmd.rs index 0fd13fe0a5..2ebc85d82b 100644 --- a/common/src/cmd.rs +++ b/common/src/cmd.rs @@ -114,7 +114,7 @@ lazy_static! { souls }; - static ref AREA_KINDS: Vec = vec!["build".to_string(), "no_dura".to_string()]; + static ref AREA_KINDS: Vec = vec!["build".to_string(), "no_durability".to_string()]; static ref OBJECTS: Vec = comp::object::ALL_OBJECTS .iter() .map(|o| o.to_string().to_string()) diff --git a/server/src/cmd.rs b/server/src/cmd.rs index 47a24e2a78..f4d6e7ad5b 100644 --- a/server/src/cmd.rs +++ b/server/src/cmd.rs @@ -2009,7 +2009,7 @@ fn get_areas_mut<'l>(kind: &str, state: &'l mut State) -> CmdResult<&'l mut Area "build" => state .mut_resource::>() .deref_mut(), - "no_dura" => state + "no_durability" => state .mut_resource::>() .deref_mut(), _ => Err(format!("Invalid area type '{kind}'"))?,