Small mr upbeat fix

This commit is contained in:
Rapandrasmus 2023-01-24 11:05:11 +01:00
parent 2bbc69d6ff
commit 7e305832ec
2 changed files with 4 additions and 8 deletions

View file

@ -103,6 +103,10 @@ namespace HeavenStudio.Games
} }
queuedInputs.Clear(); 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(); public GameEvent blip = new GameEvent();
private void Update()
{
if (PlayerInput.Pressed())
{
Step();
}
}
public void Idle() public void Idle()
{ {
stepTimes = 0; stepTimes = 0;