From 86cc6b42c0a016dbed76e35683fa23dd5fef3ed4 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 8 Nov 2017 12:26:07 +0100 Subject: [PATCH] Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 38 bytes modified --- fsilsam72g.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fsilsam72g.js b/fsilsam72g.js index cc69ef1..d9bc824 100644 --- a/fsilsam72g.js +++ b/fsilsam72g.js @@ -1,3 +1,7 @@ +if (!this.entityLoaded) { + return; +} + var camera = GameLib.EntityManager.Instance.findComponentById('knwkksjc7n'); camera.lookAt.x = (-1 * (window.innerWidth / 2 - data.event.x)) * 0.025;//(window.clientWidth/ 2) + data.event.x; camera.lookAt.y = (((window.innerHeight / 2 - data.event.y)) * 0.05) - 8;