Uses the current player position rather than the starting one to position iframe
This commit is contained in:
parent
e39e341ab7
commit
516d756db1
4 changed files with 36 additions and 0 deletions
|
@ -1360,6 +1360,14 @@ ${escapedMessage}
|
|||
this.CurrentPlayer.removeOutlineColor();
|
||||
this.connection?.emitPlayerOutlineColor(null);
|
||||
});
|
||||
|
||||
|
||||
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