mr upbeat input fix + lockstep offbeat switch event seperation (#233)

This commit is contained in:
Rapandrasmus
2023-01-24 20:31:59 +01:00
committed by GitHub
parent 9cbd353506
commit 4b13f559eb
5 changed files with 24 additions and 57 deletions

View File

@ -103,6 +103,10 @@ namespace HeavenStudio.Games
}
queuedInputs.Clear();
}
if (PlayerInput.Pressed() && !IsExpectingInputNow(InputType.STANDARD_DOWN))
{
man.Step();
}
}
}

View File

@ -23,14 +23,6 @@ namespace HeavenStudio.Games.Scripts_MrUpbeat
public GameEvent blip = new GameEvent();
private void Update()
{
if (PlayerInput.Pressed())
{
Step();
}
}
public void Idle()
{
stepTimes = 0;