Merge pull request #1660 from juliangiebel/bug/anchoring-reagent-dispenser

This commit is contained in:
Pieter-Jan Briers
2020-08-17 17:54:21 +02:00
committed by GitHub
4 changed files with 13 additions and 2 deletions

View File

@@ -447,7 +447,7 @@ namespace Content.Server.GameObjects.EntitySystems.Click
return;
}
var attackBys = attacked.GetAllComponents<IInteractUsing>().ToList();
var attackBys = attacked.GetAllComponents<IInteractUsing>().OrderByDescending(x => x.Priority);
var attackByEventArgs = new InteractUsingEventArgs
{
User = user, ClickLocation = clickLocation, Using = weapon, Target = attacked