(a405d1aed) Check volume validity in SoundPlayer.UpdateWaterAmbience (there was a report on GameAnalytics about the method setting the gain to an invalid value) + Merge fix
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ namespace Barotrauma
|
||||
{
|
||||
searchHullTimer -= deltaTime;
|
||||
}
|
||||
else if (currenthullSafety < HumanAIController.HULL_SAFETY_THRESHOLD)
|
||||
else
|
||||
{
|
||||
var bestHull = FindBestHull();
|
||||
if (bestHull != null && bestHull != currentHull)
|
||||
|
||||
Reference in New Issue
Block a user