Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaClient/Source/Items/Components/LevelResource.cs
2019-08-26 19:58:44 +03:00

17 lines
436 B
C#

using Barotrauma.Networking;
namespace Barotrauma.Items.Components
{
partial class LevelResource : ItemComponent, IServerSerializable
{
public void ClientRead(ServerNetObject type, IReadMessage msg, float sendingTime)
{
deattachTimer = msg.ReadSingle();
if (deattachTimer >= DeattachDuration)
{
holdable.DeattachFromWall();
}
}
}
}