Supports only 32-bit for now

This commit is contained in:
Daniel S. Billing 2021-02-20 00:48:32 +01:00
parent c1c702e30f
commit f8ed3f4ac3

View File

@ -8,7 +8,7 @@ Public Class Presence
Private PreviousMapLevel As String = ""
Public Sub Initialize()
If APP_ID IsNot Nothing Then
If APP_ID IsNot Nothing And Environment.Is64BitProcess = False Then
Discord_Initialize(APP_ID, Handlers, 1, "")
Update()
End If
@ -86,7 +86,7 @@ Public Class Presence
.SmallImageText = APP_SmallImageText
}
If ShouldUpdate Then
If ShouldUpdate And Environment.Is64BitProcess = False Then
Logger.Log(Logger.LogTypes.Message, "Presence.vb: Updating Discord Presence.")
Discord_UpdatePresence(NewPresence)
End If