mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-25 18:17:37 +01:00
Merge pull request #2668 from lennartbecker/load-map-updates-immediately
Standalone: Load changes immediately after page load
This commit is contained in:
commit
4e7448dd8f
@ -375,6 +375,7 @@ DynMap.prototype = {
|
|||||||
componentstoload--;
|
componentstoload--;
|
||||||
if (componentstoload == 0) {
|
if (componentstoload == 0) {
|
||||||
// Actually start updating once all components are loaded.
|
// Actually start updating once all components are loaded.
|
||||||
|
me.update();
|
||||||
setTimeout(function() { me.update(); }, me.options.updaterate);
|
setTimeout(function() { me.update(); }, me.options.updaterate);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user