Adds footstep sound variety, makes diving and clown suits have unique footstep sounds!
https://puu.sh/yQ8fs/61e12f15c6.webm TODO: Get rid of the "damagesoundtype" system and replace it with simple "tag" checking to allow customizability from content pack side Fix damagemodifier sounds never being played (I've never once heard LimbArmor play on anything but mantis)
This commit is contained in:
@@ -49,11 +49,11 @@ namespace Barotrauma
|
||||
switch (Operator)
|
||||
{
|
||||
case "==":
|
||||
if (property.GetValue().Equals(floatValue == null ? floatValue : Value))
|
||||
if (property.GetValue().Equals(floatValue == null ? Value : floatValue))
|
||||
return true;
|
||||
break;
|
||||
case "!=":
|
||||
if (property.GetValue().Equals(floatValue == null ? floatValue : Value))
|
||||
if (property.GetValue().Equals(floatValue == null ? Value : floatValue))
|
||||
return true;
|
||||
break;
|
||||
case ">":
|
||||
|
||||
Reference in New Issue
Block a user