Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lohse authored Jul 16, 2018
1 parent 50811a8 commit 333854e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/Story.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export class Story extends InkObject{

var formatFromFile = parseInt(versionObj);
if (formatFromFile > this.inkVersionCurrent){
throw "Version of ink used to build story was newer than the current verison of the engine";
throw "Version of ink used to build story was newer than the current version of the engine";
}
else if (formatFromFile < this.inkVersionMinimumCompatible){
throw "Version of ink used to build story is too old to be loaded by this verison of the engine";
throw "Version of ink used to build story is too old to be loaded by this version of the engine";
}
else if (formatFromFile != this.inkVersionCurrent){
console.warn("WARNING: Version of ink used to build story doesn't match current version of engine. Non-critical, but recommend synchronising.");
Expand Down

0 comments on commit 333854e

Please sign in to comment.