Skip to content

Commit

Permalink
[fixed] #2 calling officer without validation check
Browse files Browse the repository at this point in the history
  • Loading branch information
ziipzaaapM16A4 committed Dec 22, 2020
1 parent c171f97 commit 3056a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MVA/MVA.cs
Expand Up @@ -363,7 +363,7 @@ public override bool End()
if (Unit.DistanceTo(location) < 9f) {
Unit.Delete();
foreach (var officer in UnitOfficers) {
officer.Delete();
if (officer) officer.Delete();
}
}
});
Expand Down

0 comments on commit 3056a30

Please sign in to comment.