Skip to content

Commit

Permalink
Revert non-deployment call to setIlluminated, which ORs with the sear…
Browse files Browse the repository at this point in the history
…chlight state and thus is fine to call here.
  • Loading branch information
Sleet01 committed Nov 29, 2023
1 parent 1901f2b commit b2ebb3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions megamek/src/megamek/server/GameManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ private void resetEntityPhase(GamePhase phase) {
entity.setSearchlightState(startSLOn);
entity.setIlluminated(startSLOn);
}
entity.setIlluminated(false);
entity.setUsedSearchlight(false);

entity.setCarefulStand(false);
Expand Down

0 comments on commit b2ebb3c

Please sign in to comment.