temporarily ditch discord RPC
we need a new API key lol
This commit is contained in:
parent
85bc98e150
commit
ca325a2b1d
|
|
@ -428,21 +428,23 @@ namespace HeavenStudio
|
||||||
|
|
||||||
public static void UpdateDiscordStatus(string details, bool editor = false, bool updateTime = false)
|
public static void UpdateDiscordStatus(string details, bool editor = false, bool updateTime = false)
|
||||||
{
|
{
|
||||||
if (discordDuringTesting || !Application.isEditor)
|
Debug.Log("Discord Rich Presence temporarily disabled");
|
||||||
{
|
return;
|
||||||
if (PersistentDataManager.gameSettings.discordRPCEnable)
|
// if (discordDuringTesting || !Application.isEditor)
|
||||||
{
|
// {
|
||||||
try
|
// if (PersistentDataManager.gameSettings.discordRPCEnable)
|
||||||
{
|
// {
|
||||||
DiscordRPC.DiscordRPC.UpdateActivity(editor ? "In Editor " : "Playing ", details, updateTime);
|
// try
|
||||||
Debug.Log("Discord status updated");
|
// {
|
||||||
}
|
// DiscordRPC.DiscordRPC.UpdateActivity(editor ? "In Editor " : "Playing ", details, updateTime);
|
||||||
catch (System.Exception e)
|
// Debug.Log("Discord status updated");
|
||||||
{
|
// }
|
||||||
Debug.Log("Discord status update failed: " + e.Message);
|
// catch (System.Exception e)
|
||||||
}
|
// {
|
||||||
}
|
// Debug.Log("Discord status update failed: " + e.Message);
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void OnQuitting()
|
private static void OnQuitting()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue