|
@@ -34,10 +34,8 @@ class Location{
|
|
|
else
|
|
|
console.warn("Location-passage does not contain a private- or public-tag:",v);
|
|
|
|
|
|
- if(passage_tags.includes('homeParents') || passage_tags.includes('home'))
|
|
|
- this._isHome = true;
|
|
|
- else
|
|
|
- this._isHome = false;
|
|
|
+ let homeTag = State.variables.housing.home;
|
|
|
+ this._isHome = passage_tags.includes(homeTag);
|
|
|
|
|
|
for(let tag of passage_tags){
|
|
|
if(tag.startsWith('region_')){
|