diff --git a/Content.Client/_White/Misc/ChristmasLights/ChristmasLightsVisualiserSystem.cs b/Content.Client/_White/Misc/ChristmasLights/ChristmasLightsVisualiserSystem.cs index 9243eb4508..0eb3c80ff5 100644 --- a/Content.Client/_White/Misc/ChristmasLights/ChristmasLightsVisualiserSystem.cs +++ b/Content.Client/_White/Misc/ChristmasLights/ChristmasLightsVisualiserSystem.cs @@ -95,7 +95,7 @@ private void OnChristmasLightsVerbs(EntityUid uid, ChristmasLightsComponent comp - // Funny shitcode game: everything that gets called in FrameUpdate() must be coded as if it's from a shader. + // Funny shitcode game: everything that gets called in FrameUpdate() must be coded as if it's in a shader. diff --git a/Content.Server/_White/Misc/ChristmasLightsSystem.cs b/Content.Server/_White/Misc/ChristmasLightsSystem.cs index 0d678a29e5..c0d84b1b63 100644 --- a/Content.Server/_White/Misc/ChristmasLightsSystem.cs +++ b/Content.Server/_White/Misc/ChristmasLightsSystem.cs @@ -85,7 +85,8 @@ private void OnChristmasLightsModerateTrolling(EntityUid uid, ChristmasLightsCom int GetNextModeIndex(ChristmasLightsComponent comp) // cycles modes as usual, but also handles the -1 case { if (comp.CurrentModeIndex == -1) return -1; - return (comp.CurrentModeIndex + 1) % comp.modes.Count; + comp.CurrentModeIndex = (comp.CurrentModeIndex + 1) % comp.modes.Count; + return comp.CurrentModeIndex; } private void OnModeChangeAttempt(ChangeChristmasLightsModeAttemptEvent args, EntitySessionEventArgs sessionArgs)