fixed crashes clientside on connecting to server
Merge branch 'master' of https://github.com/Kuxe/oopprojekt