Skip to content

Commit

Permalink
Ports 78 From Floofstation - Fix Crew Monitor (DeltaV-Station#717)
Browse files Browse the repository at this point in the history
# Description


Crew Monitor right now only shows Good! or Bad! (dead). Should show more
states, this fixes it.

# Changelog

:cl: Xavier
- fix: Crew monitor not working properly, now displays correctly.
  • Loading branch information
DangerRevolution authored Aug 12, 2024
1 parent 8b0c754 commit 84c338a
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 84c338a

Please sign in to comment.