mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 15:28:58 -04:00
[discord-rpc] fix status not being updated while indoors (#1421)
fix time of day display not being updated if indoors
This commit is contained in:
@@ -906,6 +906,9 @@ void update_discord_rpc(u32 discord_info) {
|
||||
strcpy(small_image_key, time_of_day_str(time));
|
||||
strcpy(small_image_text, "Time of day: ");
|
||||
strcat(small_image_text, get_time_of_day(time).c_str());
|
||||
} else {
|
||||
strcpy(small_image_key, "");
|
||||
strcpy(small_image_text, "");
|
||||
}
|
||||
}
|
||||
rpc.smallImageKey = small_image_key;
|
||||
|
||||
Reference in New Issue
Block a user