Allow using sailboat, and remove comment that won't happen.
The comment is being removed because the colours/ships will not be getting fetched from the server because it doesn't make sense for the server to be handling that list since it's entirely client-side.
This commit is contained in:
parent
49da524260
commit
70bf932964
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,6 @@ const emit = createEventDispatcher();
|
|||
|
||||
export let open: boolean = false;
|
||||
|
||||
/** This will be fetched from the server when opening the modal */
|
||||
const colours: IColour[] = [
|
||||
{ name: "Green", hex: "#00aa00" },
|
||||
{ name: "Blue", hex: "#0077b6" },
|
||||
|
|
@ -26,6 +25,7 @@ const colours: IColour[] = [
|
|||
const spaceships: ISpaceship[] = [
|
||||
{ name: "Space Shuttle", id: "space-shuttle" },
|
||||
{ name: "Rocket", id: "rocket" },
|
||||
{ name: "Sailboat", id: "sailboat" },
|
||||
]
|
||||
|
||||
let player = $players.find(p => p.name == $myName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue