mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-25 01:57:53 +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--;
|
||||
if (componentstoload == 0) {
|
||||
// Actually start updating once all components are loaded.
|
||||
me.update();
|
||||
setTimeout(function() { me.update(); }, me.options.updaterate);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user