Revert "Squashed commit of the following:"
This reverts commit c177f0a1b3
.
This commit is contained in:
parent
c177f0a1b3
commit
7bd444ade9
54 changed files with 1902 additions and 1470 deletions
|
@ -87,7 +87,6 @@ import { SharedVariablesManager } from "./SharedVariablesManager";
|
|||
import { playersStore } from "../../Stores/PlayersStore";
|
||||
import { chatVisibilityStore } from "../../Stores/ChatStore";
|
||||
import Tileset = Phaser.Tilemaps.Tileset;
|
||||
import { userIsAdminStore } from "../../Stores/GameStore";
|
||||
|
||||
export interface GameSceneInitInterface {
|
||||
initPosition: PointInterface | null;
|
||||
|
@ -606,8 +605,6 @@ export class GameScene extends DirtyScene {
|
|||
|
||||
playersStore.connectToRoomConnection(this.connection);
|
||||
|
||||
userIsAdminStore.set(this.connection.hasTag("admin"));
|
||||
|
||||
this.connection.onUserJoins((message: MessageUserJoined) => {
|
||||
const userMessage: AddPlayerInterface = {
|
||||
userId: message.userId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue