correct WorldDataActivated() return
This commit is contained in:
parent
1d3a0c161d
commit
936557ae78
3 changed files with 43 additions and 36 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue