Add the multiplayer lobby view to the state list

This commit is contained in:
Oliver-Akins 2021-12-15 02:43:24 -06:00
parent 9bc5fd1ad1
commit 11cdf71203

View file

@ -4,6 +4,7 @@
import Particles from "svelte-particles";
// View imports
import MultiplayerLobby from "./views/lobby/multiplayer.svelte";
import Home from "./views/home.svelte";
// Store imports
@ -18,6 +19,8 @@ import { state } from "./stores";
<!-- The state the game is in -->
{#if $state == "main-menu"}
<Home />
{:else if $state == "multiplayer-lobby"}
<MultiplayerLobby />
{/if}
<style lang="scss">