Add utility AI (#806)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
@@ -123,8 +123,8 @@ namespace Content.Server.GameObjects.Components.Power.Chargers
|
||||
return false;
|
||||
}
|
||||
|
||||
_heldItem = entity;
|
||||
if (!_container.Insert(_heldItem))
|
||||
HeldItem = entity;
|
||||
if (!_container.Insert(HeldItem))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user