From 624de181ceb4d44fcbc65713498bf30582a11e4c Mon Sep 17 00:00:00 2001 From: yuni Date: Mon, 18 Nov 2024 03:33:00 +0100 Subject: [PATCH] replace magic string with constant --- src/cmd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.rs b/src/cmd.rs index ad16e6e..f7d804f 100644 --- a/src/cmd.rs +++ b/src/cmd.rs @@ -1136,7 +1136,7 @@ fn spawn_scenes( state.ar_models.push("suit_ar_chefhat".to_string()); // command: wants lookat PLAYERCAMERA - state.wants_tolookat_id = Some("PLAYERCAMERA".to_string()); + state.wants_tolookat_id = Some(ID_SPECIAL_PLAYERCAM.to_string()); // command: pronoun he state.pronoun = Some("he".to_string());