Forgot to rename type on lobby
This commit is contained in:
parent
3414fbe46b
commit
5806e8c713
1 changed files with 3 additions and 7 deletions
|
@ -258,13 +258,9 @@
|
|||
<script lang="ts">
|
||||
import { Component, Vue } from "vue-property-decorator";
|
||||
import TopNav from "@/components/Navigation/TopNav.vue";
|
||||
import {
|
||||
StartServerOptions,
|
||||
ConnectOptions,
|
||||
PlayerEntry
|
||||
} from "@/store/network/types";
|
||||
import { StartServerOptions, ConnectOptions } from "@/store/network/types";
|
||||
import { Action, Getter } from "vuex-class";
|
||||
import { Client, NetworkMessage } from "@/network";
|
||||
import { Client, NetworkMessage, RoomPlayer } from "@/network";
|
||||
|
||||
const networkNS = { namespace: "network" };
|
||||
|
||||
|
@ -299,7 +295,7 @@ export default class Lobby extends Vue {
|
|||
private sessionID!: string | null;
|
||||
|
||||
@Getter("players", networkNS)
|
||||
private players!: PlayerEntry[];
|
||||
private players!: RoomPlayer[];
|
||||
|
||||
private data() {
|
||||
const playerName =
|
||||
|
|
Loading…
Reference in a new issue