mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-05-29 11:50:12 +02:00
Space Soccer: Backwards compatibility with levels using old swing system.
This commit is contained in:
parent
5a7268c3dc
commit
dbe1e011c9
@ -85,6 +85,9 @@ namespace RhythmHeavenMania.Games.SpaceSoccer
|
||||
else
|
||||
{
|
||||
highKickSwing = highKicks[i].swing;
|
||||
if (highKickSwing == 0f)
|
||||
highKickSwing = 0.5f;
|
||||
|
||||
if (highKicks[i].beat + GetAnimLength(State.HighKicked) > currentBeat)
|
||||
{
|
||||
//Debug.Log("Setting state to high kick");
|
||||
|
@ -203,7 +203,11 @@ namespace RhythmHeavenMania.Games.SpaceSoccer
|
||||
canKick = false;
|
||||
|
||||
if (ball)
|
||||
{
|
||||
ball.highKickSwing = highKicks[i].swing;
|
||||
if (ball.highKickSwing == 0f)
|
||||
ball.highKickSwing = 0.5f;
|
||||
}
|
||||
break;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user