General improvements

This commit is contained in:
KingOfDog
2019-04-03 16:15:15 +02:00
committed by Marcel
parent 1bf43ef28d
commit 23c24ded96
11 changed files with 828 additions and 152 deletions

View File

@@ -67,7 +67,7 @@ function parseFromJson(json) {
break;
case 'SelfConnection':
connection = Object.assign(new SelfConnection(null, {x: 0, y: 0}), connection);
connection = Object.assign(new SelfConnection(null), connection);
connection.state = doc.states.find(state => state.id === connection.state);