Forgot to rename type on lobby

This commit is contained in:
Hamcha 2019-10-22 20:13:48 +02:00
parent 3414fbe46b
commit 5806e8c713
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E

View file

@ -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 =