Skip to content

Commit

Permalink
Fix issue with off road
Browse files Browse the repository at this point in the history
  • Loading branch information
tmalahie committed Aug 10, 2024
1 parent 79f570a commit a6aa40c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/mk.js
Original file line number Diff line number Diff line change
Expand Up @@ -1939,8 +1939,10 @@ function initMap() {
}
}
if (lMap.horspistes) {
var nOffRoad = {};
for (var type in lMap.horspistes)
lMap.horspistes[type] = classifyByShape(lMap.horspistes[type]);
nOffRoad[type] = classifyByShape(lMap.horspistes[type]);
lMap.horspistes = nOffRoad;
}
if (lMap.checkpoint) {
lMap.checkpointCoords = lMap.checkpoint.map(function(oBox) {
Expand Down Expand Up @@ -4719,7 +4721,7 @@ function startGame() {
if (bMusic || iSfx)
countDownMusic.play();
document.body.style.cursor = "default";
//* gogogo
/* gogogo
fncHandler = setInterval(fncCount,1000);
//*/fncHandler = setInterval(fncCount,1);
}
Expand Down Expand Up @@ -4770,7 +4772,7 @@ function startGame() {
//*/setTimeout(fncCount,5);
}
else {
//* gogogo
/* gogogo
setTimeout(fncCount,bMusic?3000:1500);
//*/setTimeout(fncCount,bMusic?3:1.5);
}
Expand Down

0 comments on commit a6aa40c

Please sign in to comment.