Permalink
Browse files

Fixes #2: When playing alien level 5 as the astros you would lose whe…

…n the alien speeder got destroyed.
  • Loading branch information...
leveleditor committed Apr 15, 2018
1 parent 54a0f38 commit 0ee19edfdfa7bdef0899d534e9f94afa07cd330e
Showing with 4 additions and 1 deletion.
  1. +4 −1 mods/redux/redux/DOMDocument.xml
@@ -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)
@@ -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"/>
@@ -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.