I left the code there because I was using the camera, and it crashed because I didn't have any variable in owner named "camera_rig". Shouldn't it be:
if "camera_rig" in owner: #Do your stuff
Like the second answer here: https://godotengine.org/qa/3099/check-if-script-of-a-node-has-variable (not the one marked as correct)
Yeah, I ended up doing that, and moved the camera call to inside the player's set_active method, since I already know the camera is there.
Oh and I didn't know that happened only when running in the editor, good to know as well! Thanks for the reply!