removed duplicated code
Merge branch 'merginben' of github.com:nodeGame/nodegame-client into merginben
minor