stonedDiscord / serverD

attorney online custom server
GNU Affero General Public License v3.0
13 stars 8 forks source link

Music glitch when two players select the same song at almost the same time #2

Closed DoctorMalboro closed 8 years ago

DoctorMalboro commented 8 years ago

I've noticed that whenever two players select the same song at almost the same time, it causes the repeat to put the same song twice. Maybe checking that the song was already selected would avoid this issue.

stonedDiscord commented 8 years ago

exactly that is done in Procedure TrackWait(*usagePointer.Client) Line 647 If areas(wtarea)\track=track$ seems there is another thread race condition here, I will look into this

stonedDiscord commented 8 years ago

after getting spammed to death by WAKE ME UP.mp3 i must say this really is a terrible bug