Commit Graph
18 Commits
Author SHA1 Message Date
Kam a9b602713c Large Cleanup to Code Imports and Formatting 2026-01-22 23:07:38 -05:00
Claude f5deb8a823 Fix Bard music restarting/duplicating when opening dialogs
Two issues were causing the bug:
1. GuiDialogInteract.close() called stopAllSounds() unconditionally,
   which stopped Bard music even when the dialog had no sound or
   when a different Bard was playing nearby.

2. MusicController.stopMusic() didn't set playDelay, allowing Bards
   to immediately restart their music after dialog close.

Changes:
- MusicController.stopMusic() now sets playDelay=20 and clears entity
  reference to prevent immediate music restart
- Added MusicController.stopSound(key) to stop specific sounds
- Dialog GUIs now track their dialog sound and only stop that on close,
  preserving Bard music and other sounds
2026-01-02 03:54:19 +00:00
Kam 297b19b2e5 fix: prevent bard song duplication 2025-07-23 05:46:24 -04:00
Kam 6815f579a7 Full Imports and Code Format Optimization 2025-03-12 20:12:01 -04:00
Luis C.M. b64481dec1 Fixed music continuing to play for server bards even after logging out 2025-03-05 22:57:24 -06:00
luisc d0bff7cb6f music controller fix (o_O ??) 2024-10-09 14:18:08 -05:00
Kam f8c1c18e45 More Music fixes 2024-05-16 14:00:06 -04:00
Luis C.M. a88f814c7a Fixed bard music bug where music would keep playing, unattached to a particular NPC. 2024-05-16 02:01:04 -05:00
Luis C.M. 03c45c70c5 Bard music now properly infinitely repeats. 2024-05-15 03:35:39 -05:00
luisc f6244434f7 Fixed background music not cancelling when moving within another bard NPC's range 2024-05-14 19:17:21 -05:00
luisc 56bb6751b1 Made more adjustments to the off range of music, and made the music properly repeat. Background bard music always plays at the player. 2024-05-14 18:32:30 -05:00
luisc 2d9063cf24 Changed entity check for bards 2024-05-14 18:05:25 -05:00
luisc a3e74f2ea5 Fixed null exception 2024-05-14 17:59:25 -05:00
luisc a291b4d49d Fixed bard lag 2024-05-14 17:52:19 -05:00
Kam 82e54b5982 Optimize Imports 2024-03-17 23:15:11 -04:00
Kam 6f5fd25a24 Prevent Music Overlapping Memory Leak 2024-02-20 20:30:18 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL a31efb2dc3 1.7.10 Files
Files added
2018-09-13 12:03:28 -04:00