From 0de348ccad86134560072596224ed918501ac833 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 16 Apr 2022 12:38:20 +0100 Subject: [PATCH] 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 --- wasm/wasm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() } -- 2.30.2