mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
Fixed time on mobile rich presence
This commit is contained in:
parent
cb862471bf
commit
c74b47009e
1 changed files with 2 additions and 0 deletions
|
|
@ -737,6 +737,8 @@ class DiscordRP(babase.Plugin):
|
||||||
self.rpc_thread.close()
|
self.rpc_thread.close()
|
||||||
|
|
||||||
def on_app_resume(self) -> None:
|
def on_app_resume(self) -> None:
|
||||||
|
global start_time
|
||||||
|
start_time = time.time()
|
||||||
self.rpc_thread.start()
|
self.rpc_thread.start()
|
||||||
|
|
||||||
def _get_current_activity_name(self) -> str | None:
|
def _get_current_activity_name(self) -> str | None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue