Permalink
Browse files

Fixed saving progress which was broken by a previous fix.

Oh the irony [Insert facepalm here]
  • Loading branch information...
leveleditor committed Oct 3, 2017
1 parent 3ebd57a commit 8099803c18aceee2323721eab6d2aedbf9034250
Showing with 5 additions and 3 deletions.
  1. +1 −1 mods/redux/modinfo.xml
  2. +4 −2 mods/redux/redux/DOMDocument.xml
View
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<mod>
<name><![CDATA[<b style='color:orange'>Redux Modifications + Bugfix Patch</b>]]></name>
<version>0.1.7.2</version>
<version>0.1.7.3</version>
<description><![CDATA[The official mod for CrystAlien Redux Project modifications. Contains unofficial patches to fix some bugs, add some functionality, and just generally modify the game.]]></description>
<author>Josh (leveleditor6680) &amp; Brian (ETXAlienRobot201)</author>
<homepage>http://crystalien-redux.com/</homepage>
@@ -2346,9 +2346,9 @@ function registerCheat(id:String, code:String, linked:Array) {
if (this.level < 21) {
if ((this.level != 10) && (this.level != 20)) {
if (this.level < 11) {
SO.data.goodUnlocked = this.level;
_global.game.SO.data.goodUnlocked = this.level;
} else if (this.level < 21) {
SO.data.evilUnlocked = this.level;
_global.game.SO.data.evilUnlocked = this.level;
}
}
}
@@ -3054,6 +3054,8 @@ function CACMod_OnGameMenu():Void {
if (!hookedIn) {
// Make a nicer reference to the game's root.
game = _level1;
// Set a global reference to the game, so we can access the SO (Shared Object) for saving progress where needed.
_global.game = game;
// So long story short, this is basically what made v6.5 do anything resembling antialiasing.
// Now that we've gone back to using v6.4, we can just copy this line of code here.

0 comments on commit 8099803

Please sign in to comment.