Oh yeah it is seconds now

This commit is contained in:
Tony Garnock-Jones 2023-02-14 20:29:02 +01:00
parent 6dc52ea1b7
commit e52baa41c3
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { is, fromJS, Dataflow, Dataspace, Embedded, Ref, Schemas, Turn } from "@syndicate-lang/core";
import { is, fromJS, Dataflow, Dataspace, Double, Embedded, Ref, Schemas, Turn } from "@syndicate-lang/core";
import * as html from "@syndicate-lang/html";
import * as timer from "@syndicate-lang/timer";
import * as wsRelay from "@syndicate-lang/ws-relay";
@ -118,7 +118,7 @@ async function enterScene(
field position: Shapes.ImmediateVector3 = currentPosition();
field rotation: Shapes.ImmediateVector3 = currentRotation();
const refreshPeriod = Math.floor(1000 / 10);
const refreshPeriod = Double(1 / 10);
at ds {
on message timer.PeriodicTick(refreshPeriod) => {
const newPosition = currentPosition();