mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-24 02:18:35 +02:00
Supports only 32-bit for now
This commit is contained in:
parent
c1c702e30f
commit
f8ed3f4ac3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user