v1.2.6.0 (Winter Update)

This commit is contained in:
Regalis11
2023-12-14 16:11:27 +02:00
parent af8cc89fce
commit b91e85559d
375 changed files with 7771 additions and 2874 deletions
@@ -252,6 +252,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();