From c6da699f18426079435ad4664e7c715386ff82c0 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 28 Jan 2019 17:57:38 +0100 Subject: display a random face --- client/splash/face/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/splash/face/index.js') diff --git a/client/splash/face/index.js b/client/splash/face/index.js index 157a51cf..4090a9fa 100644 --- a/client/splash/face/index.js +++ b/client/splash/face/index.js @@ -4,7 +4,7 @@ import * as markers from './markers' import * as mesh from './mesh' export function init() { - const name = names[0] + const name = choice(names) const face = faces[name] markers.build(face) mesh.load(name) @@ -14,9 +14,9 @@ export function load() { const name = choice(names) const face = faces[name] markers.swap(face) - mesh.load(name) + // mesh.load(name) } -export function update(){ - markers.update() -} \ No newline at end of file +export function update() { + // markers.update() +} -- cgit v1.2.3-70-g09d2