Log the chem dispenser to server console. (#5142)

This commit is contained in:
moonheart08
2021-11-03 09:32:32 -05:00
committed by GitHub
parent df43338c4e
commit 4f58f10c77

View File

@@ -22,6 +22,7 @@ using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Log;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.Manager.Attributes;
@@ -193,6 +194,7 @@ namespace Content.Server.Chemistry.Components
{
TryDispense(msg.DispenseIndex);
}
Logger.Info($"User {obj.Session.UserId.UserId} ({obj.Session.Name}) dispensed {_dispenseAmount}u of {Inventory[msg.DispenseIndex].ID}");
break;
default: