@vylos/core 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/setup.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vylos/core",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/DevOpsBenjamin/Vylos"
package/src/setup.ts CHANGED
@@ -106,6 +106,8 @@ export function setupVylos(options: SetupOptions): void {
106
106
 
107
107
  const loopCallbacks: EngineLoopCallbacks = {
108
108
  onTick(state) {
109
+ engineState.setLocation(state.locationId);
110
+
109
111
  const locs = locationManager.getAccessibleFrom(state.locationId, state);
110
112
  engineState.setLocations(locs.map(l => ({
111
113
  id: l.id,