Fixed sl
This commit is contained in:
@ -529,7 +529,7 @@ ${post.content}`;
|
|||||||
position -= 1.5;
|
position -= 1.5;
|
||||||
setTrainPosition(position);
|
setTrainPosition(position);
|
||||||
|
|
||||||
if (position < -20) {
|
if (position < -50) {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
setIsTrainRunning(false);
|
setIsTrainRunning(false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user