mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-24 10:29:41 +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 = ""
|
Private PreviousMapLevel As String = ""
|
||||||
|
|
||||||
Public Sub Initialize()
|
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, "")
|
Discord_Initialize(APP_ID, Handlers, 1, "")
|
||||||
Update()
|
Update()
|
||||||
End If
|
End If
|
||||||
@ -86,7 +86,7 @@ Public Class Presence
|
|||||||
.SmallImageText = APP_SmallImageText
|
.SmallImageText = APP_SmallImageText
|
||||||
}
|
}
|
||||||
|
|
||||||
If ShouldUpdate Then
|
If ShouldUpdate And Environment.Is64BitProcess = False Then
|
||||||
Logger.Log(Logger.LogTypes.Message, "Presence.vb: Updating Discord Presence.")
|
Logger.Log(Logger.LogTypes.Message, "Presence.vb: Updating Discord Presence.")
|
||||||
Discord_UpdatePresence(NewPresence)
|
Discord_UpdatePresence(NewPresence)
|
||||||
End If
|
End If
|
||||||
|
Loading…
x
Reference in New Issue
Block a user