Fire a player init event on initialization. (#2008)

This commit is contained in:
Kavin
2023-01-21 22:50:56 +00:00
committed by GitHub
parent 7d4e070f88
commit 869489b8da

View File

@@ -471,6 +471,9 @@ export default {
this.updateMarkers();
const event = new Event("playerInit");
window.dispatchEvent(event);
const player = this.$ui.getControls().getPlayer();
this.$player = player;