mirror of
https://github.com/csd4ni3l/aim-trainer.git
synced 2026-01-01 12:13:42 +01:00
FIx crashing on apply due to invalid variable name and key when checking if discord RPC is on.
This commit is contained in:
@@ -148,7 +148,7 @@ class Settings(FocusView):
|
||||
|
||||
window.vsync = self.data['vsync']
|
||||
|
||||
if self.settings_dict['discord_pypresence_client']:
|
||||
if self.data['discord_rpc']:
|
||||
if isinstance(self.pypresence_client, FakePyPresence): # the user has enabled pypresence_client in the settings in this session.
|
||||
start_time = copy.deepcopy(self.pypresence_client.start_time)
|
||||
self.pypresence_client.close()
|
||||
|
||||
Reference in New Issue
Block a user