Fix patrol script on respawn