From 3a7bed0eca4b70e32265877732b4a3d88b40c2da Mon Sep 17 00:00:00 2001 From: jugeeya Date: Fri, 11 Sep 2020 17:44:06 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 076b7e2f2..10ba7ddc3 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ fn params_main(params_info: &ParamsInfo<'_>) { } if let Ok(fighter_param) = params_info.get::() { - let ganon_params = fighter_param[*FIGHTER_KIND_GANON]; + let ganon_params = &mut fighter_param[*FIGHTER_KIND_GANON]; ganon_params.walk_speed_max = 30.0; } }