Try pulling initial camera target from jsonEmpire

This commit is contained in:
roblevesque 2016-07-07 11:47:05 -04:00 committed by GitHub
parent a2e8c2c199
commit fc5fd9d2bd

View File

@ -128,9 +128,9 @@ for (var key in jsonEmpire) {
} }
// Initial Target spot. UFP for convinence. // Initial Target spot. UFP for convinence.
controls.target.x = borders["UFP"].position.x; controls.target.x = jsonEmpire["UFP"].cenx;
controls.target.y = borders["UFP"].position.y; controls.target.y = jsonEmpire["UFP"].ceny;
controls.target.z = borders["UFP"].position.z; controls.target.z = jsomEmpire["UFP"].cenz;
} }