Fixed duplicator crash

Fix for github.com/Facepunch/garrysmod-issues/issues/615
Merge pull request #525 from robotboy655/master

Fixed duplicator crash