r2mods/ilspy_dump/ror2_csproj/EntityStates.Engi.Mine/MineArmingWeak.cs

18 lines
326 B
C#

using UnityEngine.Networking;
namespace EntityStates.Engi.Mine;
public class MineArmingWeak : BaseMineArmingState
{
public static float duration;
public override void FixedUpdate()
{
base.FixedUpdate();
if (NetworkServer.active && duration <= base.fixedAge)
{
outer.SetNextState(new MineArmingFull());
}
}
}