Add sfx for writing on paper (#25257)
* Initial commit * Moved params to sound * Removed type tag * Removed null check * Forced default
This commit is contained in:
@@ -160,6 +160,8 @@ namespace Content.Server.Paper
|
||||
if (args.Session.AttachedEntity != null)
|
||||
_adminLogger.Add(LogType.Chat, LogImpact.Low,
|
||||
$"{ToPrettyString(args.Session.AttachedEntity.Value):player} has written on {ToPrettyString(uid):entity} the following text: {args.Text}");
|
||||
|
||||
_audio.PlayPvs(paperComp.Sound, uid);
|
||||
}
|
||||
|
||||
paperComp.Mode = PaperAction.Read;
|
||||
|
||||
Reference in New Issue
Block a user