Skip to content

Commit

Permalink
Fix typo in attribute name and format.
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H committed May 10, 2024
1 parent 9e53bea commit 3090bdc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions GDJS/Runtime/events-tools/objecttools.ts
Expand Up @@ -653,11 +653,15 @@ namespace gdjs {
this.callbacks.delete(runtimeObject);
}

restoreLocalVariablesContainers(variablesContainers: Array<gdjs.VariablesContainer>): void {
restoreLocalVariablesContainers(
variablesContainers: Array<gdjs.VariablesContainer>
): void {
gdjs.copyArray(this.localVariablesContainers, variablesContainers);
}

backupLocalVariablesContainers(variablesContainers: Array<gdjs.VariablesContainer>): void {
backupLocalVariablesContainers(
variablesContainers: Array<gdjs.VariablesContainer>
): void {
gdjs.copyArray(variablesContainers, this.localVariablesContainers);
}
}
Expand Down
2 changes: 1 addition & 1 deletion GDJS/Runtime/variablescontainer.ts
Expand Up @@ -217,7 +217,7 @@ namespace gdjs {
add: function () {
return;
},
declare: function () {
_declare: function () {
return;
},
initFrom: function () {
Expand Down

0 comments on commit 3090bdc

Please sign in to comment.