In-hands are now refreshed when the prefix is changed
This commit is contained in:
@@ -406,6 +406,11 @@ namespace Content.Server.GameObjects
|
||||
return hands.ContainsKey(index);
|
||||
}
|
||||
|
||||
public void RefreshInHands()
|
||||
{
|
||||
SendNetworkMessage(new RefreshInHandsMsg());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the name of the slot passed to the inventory component.
|
||||
/// </summary>
|
||||
|
||||
@@ -13,6 +13,7 @@ using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameObjects.Components;
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
using Robust.Shared.Interfaces.GameObjects.Components;
|
||||
using Robust.Shared.Interfaces.Map;
|
||||
using Robust.Shared.Interfaces.Physics;
|
||||
using Robust.Shared.Interfaces.Random;
|
||||
@@ -48,8 +49,8 @@ namespace Content.Server.GameObjects
|
||||
}
|
||||
set
|
||||
{
|
||||
Dirty();
|
||||
_equippedPrefix = value;
|
||||
Dirty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user