I exported two variables per door, one for the next room and one for the spawn position of the player in the next room.. So yea, not great :D