Merge branch 'master' of https://github.com/Regalis11/Barotrauma into develop
This commit is contained in:
@@ -268,6 +268,13 @@ namespace Barotrauma.Networking
|
||||
continue;
|
||||
}
|
||||
|
||||
#if CLIENT
|
||||
foreach (var itemComponent in item.Components)
|
||||
{
|
||||
itemComponent.StopLoopingSound();
|
||||
}
|
||||
#endif
|
||||
|
||||
//restore other items to full condition and recharge batteries
|
||||
item.Condition = item.MaxCondition;
|
||||
item.GetComponent<Repairable>()?.ResetDeterioration();
|
||||
|
||||
Reference in New Issue
Block a user