Logging when clients use an item on themselves or hit someone with a melee weapon

This commit is contained in:
Regalis
2017-04-17 19:52:25 +03:00
parent e4a7d31f78
commit 67a3020430
2 changed files with 12 additions and 1 deletions
+2
View File
@@ -1869,6 +1869,8 @@ namespace Barotrauma
ApplyStatusEffects(ActionType.OnUse, (float)Timing.Step, c.Character);
GameServer.Log(c.Character.Name +" used item "+Name, Color.White);
GameMain.Server.CreateEntityEvent(this, new object[] { NetEntityEvent.Type.ApplyStatusEffect, c.Character.ID });
break;