From: Ian Jackson Date: Sat, 16 Apr 2022 11:38:20 +0000 (+0100) Subject: dice: Rename remprop parameter to wasm die_cooldown_path X-Git-Tag: otter-1.1.0~527 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0de348ccad86134560072596224ed918501ac833;p=otter.git dice: Rename remprop parameter to wasm die_cooldown_path Apparently I missed renaming this when I introduced the "rempprop" name. Signed-off-by: Ian Jackson --- diff --git a/wasm/wasm.rs b/wasm/wasm.rs index a88928fa..89e59690 100644 --- a/wasm/wasm.rs +++ b/wasm/wasm.rs @@ -220,9 +220,9 @@ pub fn space_rect_attrs(x: Number, y: Number) -> JsValue { // ---------- die cooldown ---------- #[wasm_bindgen] -pub fn die_cooldown_path(radius: f64, remaining: f64) -> JsString { +pub fn die_cooldown_path(radius: f64, remprop: f64) -> JsString { let mut s = String::new(); - base_misc::die_cooldown_path(&mut s, radius, remaining) + base_misc::die_cooldown_path(&mut s, radius, remprop) .expect("format to string failed!"); s.into() }