Skip to content

Commit

Permalink
I did an oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
rechyou committed Oct 13, 2024
1 parent 8b5fc47 commit 2bd4ffb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Assets/Scripts/Gameplay/Data/Events/Hold.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@ public void UpdateRender(int currentTiming, double currentFloorPosition, GroupPr
float clipZ = z;
if ((!locked || groupProperties.NoInput) && !groupProperties.NoClip)
{
clipZ = 0;
if (Timing <= currentTiming)
{
clipZ = 0;
}

if ((currentFloorPosition - FloorPosition) / (EndFloorPosition - FloorPosition) > 1.0)
{
return;
Expand Down

0 comments on commit 2bd4ffb

Please sign in to comment.