Skip to content

Commit

Permalink
fix Silo Launch Control Computer goal name checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Mar 24, 2024
1 parent a5b4967 commit 941f6c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DXRMissions/DeusEx/Classes/DXRMissionsVandenberg.uc
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function AfterMoveGoalToLocation(Goal g, GoalLocation Loc)
else if (g.name=="Backup Power Keypad") {
GlowUp(g.actors[0].a, 255);
}
else if (g.name=="Missile Computer" && Loc.name != "Computer Room") {
else if (g.name=="Launch Control Computer" && Loc.name != "Control Room") {
foreach AllActors(class'#var(prefix)DataLinkTrigger', dt) {
if(dt.name=='DataLinkTrigger1' || dt.name=='DataLinkTrigger6') {
dt.Destroy();
Expand All @@ -361,7 +361,7 @@ function AfterMoveGoalToLocation(Goal g, GoalLocation Loc)
}
}

if (g.name=="Missile Computer") {
if (g.name=="Launch Control Computer") {
g.actors[1].a.Tag = 'klax'; // trigger the DataLinkTrigger immediately
foreach AllActors(class'#var(DeusExPrefix)Mover', door, 'computerdoors') {
door.MoverEncroachType = ME_IgnoreWhenEncroach;
Expand Down

0 comments on commit 941f6c9

Please sign in to comment.