mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-24 10:29:41 +02:00
Added multiplayer check for presence
This commit is contained in:
parent
7d4a95d2e3
commit
724e03c5cd
@ -125,6 +125,12 @@ Public Class Presence
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If ServersManager.ServerConnection.Connected = True Then
|
||||||
|
APP_State = "Playing Multiplayer"
|
||||||
|
Else
|
||||||
|
APP_State = "Playing Solo"
|
||||||
|
End If
|
||||||
|
|
||||||
Dim NewPresence As DiscordRichPresence = New DiscordRichPresence With {
|
Dim NewPresence As DiscordRichPresence = New DiscordRichPresence With {
|
||||||
.Details = APP_Details,
|
.Details = APP_Details,
|
||||||
.State = APP_State,
|
.State = APP_State,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user