Small fix for invalid http response of updates.

This commit is contained in:
FrozenCow 2011-03-29 01:16:52 +02:00
parent 43bc625c08
commit 0b421209a2

View File

@ -368,6 +368,10 @@ DynMap.prototype = {
$(me).trigger('worldupdating');
$.getJSON(me.options.updateUrl + "world/" + me.world.name + "/" + me.lasttimestamp, function(update) {
if (!update) {
setTimeout(function() { me.update(); }, me.options.updaterate);
return;
}
me.alertbox.hide();
if (!me.options.jsonfile) {