Fix warnings and code cleanup/fixes (#13570)
This commit is contained in:
@@ -147,8 +147,8 @@ public sealed class SingularitySystem : SharedSingularitySystem
|
||||
/// <param name="delta">The amount to adjust the energy of the singuarity.</param>
|
||||
/// <param name="min">The minimum amount of energy for the singularity to be adjusted to.</param>
|
||||
/// <param name="max">The maximum amount of energy for the singularity to be adjusted to.</param>
|
||||
/// <param name="hardMin">Whether the amount of energy in the singularity should be forced to within the specified range if it already is below it.</param>
|
||||
/// <param name="hardMax">Whether the amount of energy in the singularity should be forced to within the specified range if it already is above it.</param>
|
||||
/// <param name="snapMin">Whether the amount of energy in the singularity should be forced to within the specified range if it already is below it.</param>
|
||||
/// <param name="snapMax">Whether the amount of energy in the singularity should be forced to within the specified range if it already is above it.</param>
|
||||
/// <param name="singularity">The state of the singularity to adjust the energy of.</param>
|
||||
public void AdjustEnergy(EntityUid uid, float delta, float min = float.MinValue, float max = float.MaxValue, bool snapMin = true, bool snapMax = true, SingularityComponent? singularity = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user