Remove logging
This commit is contained in:
parent
a03269603a
commit
07f6dac869
|
@ -80,7 +80,6 @@ async function enterScene(
|
|||
let lastTouchSpriteName = "";
|
||||
camera.onCollide = (other: AbstractMesh) => {
|
||||
if (other.metadata?.touchable) {
|
||||
console.log('collision', other.name, other.metadata);
|
||||
const now = +new Date();
|
||||
const touched = other.metadata?.spriteName ?? "";
|
||||
if ((now - lastTouchTime > 500) || (lastTouchSpriteName !== touched)) {
|
||||
|
@ -123,7 +122,6 @@ async function enterScene(
|
|||
|
||||
at sceneDs {
|
||||
on message SceneProtocol.Touch({ "subject": id, "object": $o }) => {
|
||||
console.log('touched', o);
|
||||
react {
|
||||
let needStop = true;
|
||||
on asserted SceneProtocol.Portal({
|
||||
|
|
Loading…
Reference in New Issue