It triggers if a certain switch is set to off, which I guess happens by default when you upgrade to the version of the game that has the ending. Entering the developers' room also sets the switch to off, but I'm not seeing any other references to that switch anywhere else in the game.