v0.14.6.0
This commit is contained in:
+4
-1
@@ -678,7 +678,10 @@ namespace Barotrauma
|
||||
{
|
||||
foreach (Effect effect in effects)
|
||||
{
|
||||
if (currentStrength > effect.MinStrength && currentStrength <= effect.MaxStrength) return effect;
|
||||
if (currentStrength > effect.MinStrength && currentStrength <= effect.MaxStrength)
|
||||
{
|
||||
return effect;
|
||||
}
|
||||
}
|
||||
|
||||
//if above the strength range of all effects, use the highest strength effect
|
||||
|
||||
Reference in New Issue
Block a user