Update shared.lua
Merge pull request #41 from NightmareX91/master

Fixed an error.