r2mods/ilspy_dump/ror2_csproj/EntityStates.GameOver/LingerShort.cs

18 lines
331 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine.Networking;
namespace EntityStates.GameOver;
public class LingerShort : BaseGameOverControllerState
{
private static readonly float duration = 3f;
public override void FixedUpdate()
{
base.FixedUpdate();
if (NetworkServer.active && base.fixedAge >= duration)
{
outer.SetNextStateToMain();
}
}
}