This commit is contained in:
DBotThePony 2025-03-09 00:07:28 +07:00
parent abeeda8139
commit 45d7b30b8a
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -74,7 +74,7 @@ class WormPlacement(
if (turnChanceXY.sample(random)) {
// worm?
xyTargetRotation += turnRateXY.sample(random)
xzTargetRotation = normalizeAngle(xzTargetRotation)
xyTargetRotation = normalizeAngle(xyTargetRotation)
}
if (xzTargetRotation != xzRotation) {