Uses the current player position rather than the starting one to position iframe
This commit is contained in:
parent
c5f96a76ad
commit
a22c2a09b8
4 changed files with 37 additions and 0 deletions
|
@ -1274,6 +1274,14 @@ ${escapedMessage}
|
|||
iframeListener.registerAnswerer("removeActionMessage", (message) => {
|
||||
layoutManagerActionStore.removeAction(message.uuid);
|
||||
});
|
||||
|
||||
|
||||
iframeListener.registerAnswerer("getPlayerPosition", () => {
|
||||
return {
|
||||
x: this.CurrentPlayer.x,
|
||||
y: this.CurrentPlayer.y,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
private setPropertyLayer(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue