help! delete each others stuff?

me and my bro where trying to play lan on different copies of gmod. for some reason when one person made a prop, the other person was able to delete it with “z” button? how do i fix this and why is it happening?