assign map var
This commit is contained in:
parent
1f8109e8b8
commit
332ec2bd26
@ -179,7 +179,8 @@ export default L.LayerGroup.extend({
|
||||
|
||||
},
|
||||
|
||||
onAdd: function(/*map*/) {
|
||||
onAdd: function(map) {
|
||||
this.map = map;
|
||||
this.layerMgr.addListener(() => this.reDraw());
|
||||
this.wsChannel.addListener("minetest-info", () => this.onMinetestUpdate());
|
||||
this.reDraw();
|
||||
|
Loading…
Reference in New Issue
Block a user