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">
|
<script lang="ts">
|
||||||
import { Component, Vue } from "vue-property-decorator";
|
import { Component, Vue } from "vue-property-decorator";
|
||||||
import TopNav from "@/components/Navigation/TopNav.vue";
|
import TopNav from "@/components/Navigation/TopNav.vue";
|
||||||
import {
|
import { StartServerOptions, ConnectOptions } from "@/store/network/types";
|
||||||
StartServerOptions,
|
|
||||||
ConnectOptions,
|
|
||||||
PlayerEntry
|
|
||||||
} from "@/store/network/types";
|
|
||||||
import { Action, Getter } from "vuex-class";
|
import { Action, Getter } from "vuex-class";
|
||||||
import { Client, NetworkMessage } from "@/network";
|
import { Client, NetworkMessage, RoomPlayer } from "@/network";
|
||||||
|
|
||||||
const networkNS = { namespace: "network" };
|
const networkNS = { namespace: "network" };
|
||||||
|
|
||||||
|
@ -299,7 +295,7 @@ export default class Lobby extends Vue {
|
||||||
private sessionID!: string | null;
|
private sessionID!: string | null;
|
||||||
|
|
||||||
@Getter("players", networkNS)
|
@Getter("players", networkNS)
|
||||||
private players!: PlayerEntry[];
|
private players!: RoomPlayer[];
|
||||||
|
|
||||||
private data() {
|
private data() {
|
||||||
const playerName =
|
const playerName =
|
||||||
|
|
Loading…
Reference in a new issue