Add the multiplayer lobby view to the state list
This commit is contained in:
parent
9bc5fd1ad1
commit
11cdf71203
1 changed files with 3 additions and 0 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue