When submitting a demo file, a check is performed to see if a link file for the same player in the same category exists. If it does, it gets deleted. Same works the other way around - if a link is submitted, any matching demo file gets deleted. This resolves a problem where the stream UI would register link submissions as demos if the latter came first.
When submitting a demo file, a check is performed to see if a link file for the same player in the same category exists. If it does, it gets deleted. Same works the other way around - if a link is submitted, any matching demo file gets deleted. This resolves a problem where the stream UI would register link submissions as demos if the latter came first.
Fixes #114