[GoldSrc] Inconsistent Closing Sound in VGUI Windows in Main Menu
0Ky opened this issue · comments
Description
In all GoldSrc engine-based games, including Half-Life, there is an inconsistency in audio feedback when closing VGUI windows in the main menu. When a VGUI window is closed by clicking the X button located at the top right corner, a closing sound is played. However, this sound is not played when the window is closed using the "cancel" or "ok" button.
Steps to Reproduce
- Open the main menu in Half-Life or any GoldSrc engine-based game.
- Open any VGUI window (e.g., Options, Load Game).
- Close the window using the X button and observe the closing sound.
- Reopen the window and close it using the "cancel" or "ok" button. Notice the absence of the closing sound.
Expected Behavior
Consistent audio feedback should be provided for both methods of closing VGUI windows. Either both should have the closing sound or neither.
Game Version
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 01:03:30 Dec 1 2023 (9899)
Video Demonstration
GoldSrc_NoSndCancel.mp4
* Don't forget to unmute the audio.