This commit is contained in:
Spencer Killen 2023-11-11 22:20:14 -07:00
commit ff8c3ef752
Signed by: sjkillen
GPG Key ID: 3AF3117BA6FBB75B
1 changed files with 11 additions and 5 deletions

View File

@ -75,15 +75,21 @@ public partial class TAS_System : Node
public void StartIncrementingFrames()
{
this.IsIncrementingFrames = true;
EmitSignal(SignalName.StartedIncrementing);
{
if (this.IsIncrementingFrames == false)
{
this.IsIncrementingFrames = true;
EmitSignal(SignalName.StartedIncrementing);
}
}
public void StopIncrementingFrames()
{
this.IsIncrementingFrames = false;
EmitSignal(SignalName.StoppedIncrementing);
if (this.IsIncrementingFrames == true)
{
this.IsIncrementingFrames = false;
EmitSignal(SignalName.StoppedIncrementing);
}
}
public void ResetFrameCount()