Fix hand examine showing virtual items.
This commit is contained in:
@@ -183,6 +183,9 @@ namespace Content.Server.Hands.Systems
|
||||
{
|
||||
foreach (var inhand in component.GetAllHeldItems())
|
||||
{
|
||||
if (inhand.Owner.HasComponent<HandVirtualItemComponent>())
|
||||
continue;
|
||||
|
||||
args.PushText(Loc.GetString("comp-hands-examine", ("user", component.Owner), ("item", inhand.Owner)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2129,7 +2129,7 @@ Entries:
|
||||
- {message: Fixes drinking glasses not breaking when thrown., type: Fix}
|
||||
id: 380
|
||||
time: '2021-10-01T10:29:58.505975+00:00'
|
||||
- author: Your_Name_Here
|
||||
- author: Zumorica
|
||||
changes:
|
||||
- {message: Fix mob inventory strip window showing virtual items it shouldn't.,
|
||||
type: Fix}
|
||||
|
||||
4
Resources/Changelog/Parts/hands.yml
Normal file
4
Resources/Changelog/Parts/hands.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
author: Zumorica
|
||||
changes:
|
||||
- type: Fix # One of the following: Add, Remove, Tweak, Fix
|
||||
message: Fix hands examine text showing virtual items it shouldn't.
|
||||
Reference in New Issue
Block a user