Moved inventory UI update logic to the client project, sound effects for picking up and dropping items
This commit is contained in:
@@ -86,10 +86,18 @@ namespace Barotrauma.Items.Components
|
||||
DropConnectedWires(picker);
|
||||
|
||||
ApplyStatusEffects(ActionType.OnPicked, 1.0f, picker);
|
||||
|
||||
|
||||
#if CLIENT
|
||||
GUI.PlayUISound(GUISoundType.PickItem);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#if CLIENT
|
||||
GUI.PlayUISound(GUISoundType.PickItemFail);
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user