Thanks, sev. (Why does it look so much better in your NetRadiant?)
An easy solution is to just make the door open with touch, skipping the pass code -- this way Vortex will be available again in this map. However, I hesitate changing the mapper's design like this.
Another way to approach it would be re-create the original logic with the updated Xonotic script. I did something similar for a_long_way-bfg_r2 (re-writing the canon firing code), respecting the original mapper's intention. For phdm2, however, I don't know how to experience the map as the mapper intended. Is there an FOSS game that I can use to figure it out?