From 9d6c719951dd5c5bb721c1d3277fd789819dbf12 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 23 Feb 2021 22:09:56 +0100 Subject: [PATCH] Fix VaporVisualizer throwing due to bad type casts. --- .../GameObjects/Components/Atmos/VaporVisualizer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Client/GameObjects/Components/Atmos/VaporVisualizer.cs b/Content.Client/GameObjects/Components/Atmos/VaporVisualizer.cs index 1341a7b9d4..b6ebbabad4 100644 --- a/Content.Client/GameObjects/Components/Atmos/VaporVisualizer.cs +++ b/Content.Client/GameObjects/Components/Atmos/VaporVisualizer.cs @@ -50,9 +50,9 @@ namespace Content.Client.GameObjects.Components.Atmos return; } - if (component.TryGetData(VaporVisuals.Rotation, out var radians)) + if (component.TryGetData(VaporVisuals.Rotation, out var radians)) { - SetRotation(component, new Angle(radians)); + SetRotation(component, radians); } if (component.TryGetData(VaporVisuals.Color, out var color))