correct WorldDataActivated() return

This commit is contained in:
ReznoRMichael 2021-02-19 21:51:04 +01:00
commit 936557ae78
3 changed files with 43 additions and 36 deletions

View file

@ -660,10 +660,10 @@ function WorldDataActivated(idText, sceneNameText, worldData) {
// Verify if the Interactable is activated and return the result
if (worldData[i].id === idText && worldData[i].sceneName === sceneNameText && worldData[i].activated === true) {
return true;
} else {
return false;
}
}
// If not, return false
return false;
}
/**