Skip to content

Commit

Permalink
Fansana/floofstation1#78 - Fix Crew Monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
DangerRevolution committed Aug 10, 2024
1 parent e617342 commit 85cbf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Medical/SuitSensor/SharedSuitSensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public SuitSensorStatus(NetEntity suitSensorUid, string name, string job, string
public bool IsAlive;
public int? TotalDamage;
public int? TotalDamageThreshold;
public float? DamagePercentage => TotalDamageThreshold == null || TotalDamage == null ? null : TotalDamage / TotalDamageThreshold;
public float? DamagePercentage => TotalDamageThreshold == null || TotalDamage == null ? null : TotalDamage / (float) TotalDamageThreshold;
public NetCoordinates? Coordinates;
}

Expand Down

0 comments on commit 85cbf21

Please sign in to comment.