Which room was that, Fire or Earth (not including the tutorial room)? The code is set up in a way where that hopefully shouldn't be possible as it checks the status of each light before allowing you to open the door.
I'll do some more testing, thanks for the feedback.