Unstable 0.17.4.0
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Barotrauma
|
||||
if (sound?.Sound != null)
|
||||
{
|
||||
loopSound = subElement.GetAttributeBool("loop", false);
|
||||
if (subElement.Attribute("selectionmode") != null)
|
||||
if (subElement.GetAttribute("selectionmode") != null)
|
||||
{
|
||||
if (Enum.TryParse(subElement.GetAttributeString("selectionmode", "Random"), out SoundSelectionMode selectionMode))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user