Edible Sound Specifier Override (#40312)
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2820882754
commit
928e6c8079
@@ -449,7 +449,7 @@ public sealed partial class IngestionSystem : EntitySystem
|
||||
|
||||
var edible = _proto.Index(entity.Comp.Edible);
|
||||
|
||||
_audio.PlayPredicted(edible.UseSound, args.Target, args.User);
|
||||
_audio.PlayPredicted(entity.Comp.UseSound ?? edible.UseSound, args.Target, args.User);
|
||||
|
||||
var flavors = _flavorProfile.GetLocalizedFlavorsMessage(entity.Owner, args.Target, args.Split);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user