Skip to content

Commit cb6d47b

Browse files
committed
Set tray cooldown to 500 ms.
1 parent 353b6c6 commit cb6d47b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/core/CTrayIcon.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*****************************************************************************
22
*
3-
* PROJECT: Multi Theft Auto v1.0
3+
* PROJECT: Multi Theft Auto
44
* LICENSE: See LICENSE in the top level directory
55
* FILE: core/CTrayIcon.cpp
66
* PURPOSE: Create and destroy tray icon for MTA
@@ -16,7 +16,7 @@
1616
#define TRAY_DUMMY_WINDOW_NAME L"NotificationsDummy"
1717
#define TRAY_BALLOON_TITLE L"Notification from MTA:SA server"
1818
#define TRAY_ICON_TOOLTIP_TEXT L"Multi Theft Auto: San Andreas"
19-
#define TRAY_BALLOON_INTERVAL 30000L // ms
19+
static constexpr std::uint16_t TRAY_BALLOON_INTERVAL = 500; // ms
2020

2121
extern HINSTANCE g_hModule;
2222

0 commit comments

Comments
 (0)