Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Content.Shared.Explosion;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Client.AutoGenerated;
|
||||
@@ -120,7 +121,7 @@ public sealed partial class SpawnExplosionWindow : DefaultWindow
|
||||
return;
|
||||
}
|
||||
|
||||
MapCoordinates coords = new((MapX.Value, MapY.Value), _mapData[MapOptions.SelectedId]);
|
||||
MapCoordinates coords = new(new Vector2(MapX.Value, MapY.Value), _mapData[MapOptions.SelectedId]);
|
||||
var explosionType = _explosionTypes[ExplosionOption.SelectedId];
|
||||
_eui.RequestPreviewData(coords, explosionType, Intensity.Value, Slope.Value, MaxIntensity.Value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user