diff --git a/src/Modules/SpectatorCamModeModule/Controllers/SpectatorCamModeEventController.cs b/src/Modules/SpectatorCamModeModule/Controllers/SpectatorCamModeEventController.cs deleted file mode 100644 index c253972b6..000000000 --- a/src/Modules/SpectatorCamModeModule/Controllers/SpectatorCamModeEventController.cs +++ /dev/null @@ -1,22 +0,0 @@ -using EvoSC.Common.Controllers; -using EvoSC.Common.Controllers.Attributes; -using EvoSC.Common.Controllers.Context; -using EvoSC.Common.Events.Attributes; -using EvoSC.Common.Remote; -using EvoSC.Common.Remote.EventArgsModels; -using EvoSC.Modules.Official.SpectatorCamModeModule.Interfaces; - -namespace EvoSC.Modules.Official.SpectatorCamModeModule.Controllers; - -[Controller] -public class SpectatorCamModeEventController(ISpectatorCamModeService camModeService) - : EvoScController -{ - [Subscribe(ModeScriptEvent.EndRoundStart)] - public Task OnEndRoundStartAsync(object sender, RoundEventArgs eventArgs) => - camModeService.HideCamModeWidgetAsync(); - - [Subscribe(ModeScriptEvent.StartRoundStart)] - public Task OnStartRoundStartAsync(object sender, RoundEventArgs eventArgs) => - camModeService.SendPersistentCamModeWidgetAsync(); -}