Skip to content

Commit

Permalink
Fixes #2: When playing alien level 5 as the astros you would lose whe…
Browse files Browse the repository at this point in the history
…n the alien speeder got destroyed.
  • Loading branch information
leveleditor committed Apr 15, 2018
1 parent 54a0f38 commit 0ee19ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mods/redux/redux/DOMDocument.xml
Expand Up @@ -679,11 +679,14 @@ function registerCheat(id:String, code:String, linked:Array) {
}
if (this.level == 15) {
// Bugfix: Only enforce the lose condition if the level is being played as the correct team.
if (this.parent.team == "evil") {
var isBuggy = this.findUnit("UE_evil");
if (!isBuggy) {
this.lose();
}
}
}
if (this.level == 19) {
// Fix lose condition: previously if you didn't own the breeding pit (not captured, been sold or destroyed)
Expand Down Expand Up @@ -3157,6 +3160,7 @@ function CACMod_OnGameMenu():Void {
</persistentData>
<PrinterSettings/>
<publishHistory>
<PublishItem publishSize="18294" publishTime="1523760392"/>
<PublishItem publishSize="18257" publishTime="1504232348"/>
<PublishItem publishSize="17919" publishTime="1504232322"/>
<PublishItem publishSize="18286" publishTime="1503849859"/>
Expand All @@ -3176,6 +3180,5 @@ function CACMod_OnGameMenu():Void {
<PublishItem publishSize="17785" publishTime="1496637228"/>
<PublishItem publishSize="17080" publishTime="1496211687"/>
<PublishItem publishSize="17080" publishTime="1496211660"/>
<PublishItem publishSize="17799" publishTime="1495942027"/>
</publishHistory>
</DOMDocument>

0 comments on commit 0ee19ed

Please sign in to comment.