Skip to content

Commit

Permalink
⚡ Catch the case of mouse.legacy with manually updated projects made …
Browse files Browse the repository at this point in the history
…in a dev version between next-2 and next-3
  • Loading branch information
CosmoMyzrailGorynych committed Aug 28, 2019
1 parent 13c263e commit b130b57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/migration/1.0.0-next-3.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ window.migrationProcess.push({
delete project.libs.keyboard;
project.libs['keyboard.legacy'] = {};
}
project.libs['mouse.legacy'] = {};
if (!('mouse' in project.libs)) {
project.libs['mouse.legacy'] = {};
}

// Rename Graphics into Textures
if (project.textures) {
Expand Down

0 comments on commit b130b57

Please sign in to comment.