Bandaid wire sounds (#31067)
Issue was tools was predicted but wires aren't so this would exclude user from audio. For now we just do the non-predicted version and I or someone else will fully predict wires later.
This commit is contained in:
@@ -725,7 +725,7 @@ public sealed class WiresSystem : SharedWiresSystem
|
||||
break;
|
||||
}
|
||||
|
||||
Tool.PlayToolSound(toolEntity, tool, user);
|
||||
Tool.PlayToolSound(toolEntity, tool, null);
|
||||
if (wire.Action == null || wire.Action.Cut(user, wire))
|
||||
{
|
||||
wire.IsCut = true;
|
||||
@@ -746,7 +746,7 @@ public sealed class WiresSystem : SharedWiresSystem
|
||||
break;
|
||||
}
|
||||
|
||||
Tool.PlayToolSound(toolEntity, tool, user);
|
||||
Tool.PlayToolSound(toolEntity, tool, null);
|
||||
if (wire.Action == null || wire.Action.Mend(user, wire))
|
||||
{
|
||||
wire.IsCut = false;
|
||||
|
||||
Reference in New Issue
Block a user