mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Clear status text on Update attempt during cooldown.
This commit is contained in:
parent
bd6382cd52
commit
4a9d947e6b
@ -237,6 +237,7 @@ class AppWindow:
|
||||
|
||||
if not retrying:
|
||||
if time() < self.holdofftime: # Was invoked by key while in cooldown
|
||||
self.status['text'] = ''
|
||||
if play_sound and (self.holdofftime-time()) < companion.holdoff*0.75:
|
||||
hotkeymgr.play_bad() # Don't play sound in first few seconds to prevent repeats
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user