Skip to content

Commit

Permalink
Blink amp lights twice as frequently.
Browse files Browse the repository at this point in the history
  • Loading branch information
patfair committed Sep 25, 2024
1 parent 8b1c3ac commit e44848f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions field/arena.go
Original file line number Diff line number Diff line change
Expand Up @@ -1032,15 +1032,15 @@ func (arena *Arena) handlePlcInputOutput() {
redHighAmpLight := redAmpSpeaker.BankedAmpNotes >= 2
redCoopAmpLight := redAmpSpeaker.CoopActivated
if redAmplifiedTimeRemaining > 0 {
redLowAmpLight = int(redAmplifiedTimeRemaining*2)%2 == 0
redLowAmpLight = int(redAmplifiedTimeRemaining*4)%2 == 0
redHighAmpLight = !redLowAmpLight
}

blueLowAmpLight := blueAmpSpeaker.BankedAmpNotes >= 1
blueHighAmpLight := blueAmpSpeaker.BankedAmpNotes >= 2
blueCoopAmpLight := blueAmpSpeaker.CoopActivated
if blueAmplifiedTimeRemaining > 0 {
blueLowAmpLight = int(blueAmplifiedTimeRemaining*2)%2 == 0
blueLowAmpLight = int(blueAmplifiedTimeRemaining*4)%2 == 0
blueHighAmpLight = !blueLowAmpLight
}

Expand Down

0 comments on commit e44848f

Please sign in to comment.