Skip to content

Commit 3ee454f

Browse files
author
eijis-pan
committed
10Ballをフットスポットに戻す場合に位置がずれる
1 parent 451f4c7 commit 3ee454f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/BilliardsModule/UdonScripts/BilliardsModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3081,7 +3081,7 @@ public void _TriggerSimulationEnded(bool forceScratch, bool forceRun = false)
30813081
targetPocketedLocal = targetPocketedLocal & ~(gameBallMask);
30823082
otherPocketedLocal = otherPocketedLocal & ~(gameBallMask);
30833083
#endif
3084-
ballsP[gameBallId] = initialPositions[gameModeLocal][gameBallId];
3084+
ballsP[gameBallId] = initialPositions[gameModeLocal][is9Ball ? gameBallId : 2];
30853085
//keep moving ball down the table until it's not touching any other balls
30863086
moveBallXUntilNotTouching(gameBallId);
30873087
}

0 commit comments

Comments
 (0)