Commit bffa0a0e authored by Hubert Denkmair's avatar Hubert Denkmair

slow down switching

parent 653ab2f2
......@@ -60,9 +60,9 @@
vp.position.set(0, 0);
}
else if (currentView>5)
else if (currentView>4)
{
let index = currentView-5;
let index = currentView-4;
if (game.stats && (game.stats.length > index))
{
let snake_id = game.stats[index].id;
......@@ -70,6 +70,6 @@
game.vis.FollowName(snake.GetName(), true);
}
}
}, 3000);
}, 5000);
</script>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment