mirror of https://github.com/sm64pc/sm64pc.git
Changed hp to lives on discordrpc
This commit is contained in:
parent
6fbd54ae60
commit
368b0a9e3e
|
@ -240,7 +240,7 @@ void set_health(){
|
||||||
if(lastHealth != gHudDisplay.wedges){
|
if(lastHealth != gHudDisplay.wedges){
|
||||||
lastHealth = gHudDisplay.wedges;
|
lastHealth = gHudDisplay.wedges;
|
||||||
string new_health_icon = "health-"+to_string(lastHealth);
|
string new_health_icon = "health-"+to_string(lastHealth);
|
||||||
string new_health_text = to_string(lastHealth) + " HP";
|
string new_health_text = to_string(gHudDisplay.lives) + " Lives";
|
||||||
discordRichPresence.smallImageKey = sys_strdup(new_health_icon.data());
|
discordRichPresence.smallImageKey = sys_strdup(new_health_icon.data());
|
||||||
discordRichPresence.smallImageText = sys_strdup(new_health_text.data());
|
discordRichPresence.smallImageText = sys_strdup(new_health_text.data());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue