From f90d7a7fff727f0ac6efa5792c8035aad45a429f Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 9 Mar 2018 19:08:22 +0100 Subject: [PATCH] Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 196 bytes modified --- 78gnds8jrj.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/78gnds8jrj.js b/78gnds8jrj.js index c607286..d5e3dde 100644 --- a/78gnds8jrj.js +++ b/78gnds8jrj.js @@ -25,6 +25,14 @@ this.treesRight = GameLib.EntityManager.Instance.findComponentById('oag0yr1rav') this.road = GameLib.EntityManager.Instance.findComponentById('4furha3wst'); this.sun = GameLib.EntityManager.Instance.findComponentById('nkdyvga5nl'); +/** + * Lights + */ +this.spotLight = GameLib.EntityManager.Instance.findComponentById('abkdj2g1f1'); + +this.spotLight.position.setFrom(this.sun.position); +this.spotLight.updateInstance('position'); + /** * Road Sections and Clouds */