Fixed not-reported issue

Got an error for line 104 (now 106) about indexing 'local player (a nil value)'
Apparently this script runs serverside, and there was no check if there was actually a player.
Merge pull request #58 from einsteinK/patch-4

Fixed not-reported issue