f
This commit is contained in:
alexandre-pereira 2015-03-20 19:28:48 +01:00
parent 82dd6852b4
commit 89526701f8
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@
trophee.alpha = 0;
tween = game.add.tween(trophee).to( { alpha: 1 }, 1000).start();
var r = new XMLHttpRequest();
r.open("GET", "{{URL::to('setRecords')}}", true);
r.open("GET", "{{URL::to('setRecords')}}" + "/" + trophy, true);
r.onreadystatechange = function () {
if (r.readyState != 4 || r.status != 200) return;
setTimeout(function(){