Radiation rework (#10970)
This commit is contained in:
@@ -25,8 +25,8 @@ public sealed class RadiationPulseSystem : EntitySystem
|
||||
}
|
||||
// try to get radiation range or keep default visual range
|
||||
if (TryComp<RadiationSourceComponent>(uid, out var radSource))
|
||||
{
|
||||
component.VisualRange = radSource.Range;
|
||||
{
|
||||
component.VisualRange = radSource.Intensity / radSource.Slope;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user