Yup, I made a terribly avoidable mistake -- I based the gate code on the multiplayer siege tower code. It didn't occur to me that the singleplayer code was different. It looks like MP code only works in SP if edit mode is off (probably so you can test MP maps offline). I have no idea why they disabled it for normal SP, because I assume it's more optimized than the SP code