Bug in coding AGUATECA COLLAPSE escape game

I really enjoyed this coding escape game, but there seemed to be a strange bug. In the second room i tried to test the pressure grid by returning to it the current stat, and this activated the self-destruct and ended the game. I didn’t have to use the rest of the clues in the room. it seems that the default state was the solution.