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.