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:
Oliver Akins 2022-03-07 18:01:10 -06:00
parent 49da524260
commit 70bf932964
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -11,7 +11,6 @@ const emit = createEventDispatcher();
export let open: boolean = false; export let open: boolean = false;
/** This will be fetched from the server when opening the modal */
const colours: IColour[] = [ const colours: IColour[] = [
{ name: "Green", hex: "#00aa00" }, { name: "Green", hex: "#00aa00" },
{ name: "Blue", hex: "#0077b6" }, { name: "Blue", hex: "#0077b6" },
@ -26,6 +25,7 @@ const colours: IColour[] = [
const spaceships: ISpaceship[] = [ const spaceships: ISpaceship[] = [
{ name: "Space Shuttle", id: "space-shuttle" }, { name: "Space Shuttle", id: "space-shuttle" },
{ name: "Rocket", id: "rocket" }, { name: "Rocket", id: "rocket" },
{ name: "Sailboat", id: "sailboat" },
] ]
let player = $players.find(p => p.name == $myName); let player = $players.find(p => p.name == $myName);