From 60d800a23d2359d40aaf3b1d62e0b953e9c08062 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Sat, 10 Jun 2023 15:10:49 +0200 Subject: [PATCH] 1.6.7 - fixed variable name in hsr feature --- Cargo.toml | 2 +- src/games/star_rail/config/schema/launcher/discord_rpc.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 420c34f..5e48f8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anime-launcher-sdk" -version = "1.6.6" +version = "1.6.7" authors = ["Nikita Podvirnyy "] license = "GPL-3.0" readme = "README.md" diff --git a/src/games/star_rail/config/schema/launcher/discord_rpc.rs b/src/games/star_rail/config/schema/launcher/discord_rpc.rs index d0792d8..18e36c1 100644 --- a/src/games/star_rail/config/schema/launcher/discord_rpc.rs +++ b/src/games/star_rail/config/schema/launcher/discord_rpc.rs @@ -63,7 +63,7 @@ impl From<&JsonValue> for DiscordRpc { // If old values are detected - replace them by new if app_id == 901534333360304168 { - app_id = defualt.app_id; + app_id = default.app_id; title = default.title; subtitle = default.subtitle; }