ece6ead...7b471b5
commit 7b471b565d49a165ef54357fe6d165bf5df6522b Author: Joonas Rikkonen <poe.regalis@gmail.com> Date: Sun Mar 24 13:49:53 2019 +0200 Don't apply smoothing to client cursor positions server-side commit f6a67ca31e98a353bde591789bb42a2f84d1bcc1 Author: Joonas Rikkonen <poe.regalis@gmail.com> Date: Sat Mar 23 22:29:01 2019 +0200 Nuclear shells and nuclear depth charges are removed after they've exploded. Closes #1316 commit 2d7b7b9643d3640f784ba5ab8e84caf55abad6b9 Author: Joonas Rikkonen <poe.regalis@gmail.com> Date: Sat Mar 23 22:28:26 2019 +0200 Option to configure when afflictions become visible with the health scanner. Closes #1310
This commit is contained in:
@@ -181,7 +181,7 @@ namespace Barotrauma.Items.Components
|
||||
Dictionary<AfflictionPrefab, float> combinedAfflictionStrengths = new Dictionary<AfflictionPrefab, float>();
|
||||
foreach (Affliction affliction in allAfflictions)
|
||||
{
|
||||
if (affliction.Strength < affliction.Prefab.ActivationThreshold || affliction.Strength <= 0.0f) continue;
|
||||
if (affliction.Strength < affliction.Prefab.ShowInHealthScannerThreshold || affliction.Strength <= 0.0f) continue;
|
||||
if (combinedAfflictionStrengths.ContainsKey(affliction.Prefab))
|
||||
{
|
||||
combinedAfflictionStrengths[affliction.Prefab] += affliction.Strength;
|
||||
|
||||
Reference in New Issue
Block a user