Fixes possible null pointer exception when exiting the game via the main menu.
Fixes possible null pointer exception when exiting the game via the main menu.

Vizaxo/Terasology,jacklotusho/Terasology,immortius/Terasology,rapodaca/Terasology,MovingBlocks/Terasology,MarcinSc/Terasology,MovingBlocks/Terasology,indianajohn/Terasology,dannyzhou98/Terasology,Nanoware/Terasology,kaen/Terasology,flo/Terasology,DPirate/Terasology,AWildBeard/Terasology,mertserezli/Terasology,frankpunx/Terasology,Vizaxo/Terasology,kaen/Terasology,Felges/Terasology,Nanoware/Terasology,Ciclop/Terasology,AWildBeard/Terasology,Felges/Terasology,Josharias/Terasology,dimamo5/Terasology,Malanius/Terasology,leelib/Terasology,kartikey0303/Terasology,indianajohn/Terasology,Josharias/Terasology,flo/Terasology,Halamix2/Terasology,leelib/Terasology,Ciclop/Terasology,rapodaca/Terasology,Malanius/Terasology,rapodaca/Terasology,DPirate/Terasology,dimamo5/Terasology,neshume/Terasology,MovingBlocks/Terasology,MarcinSc/Terasology,dannyzhou98/Terasology,Halamix2/Terasology,neshume/Terasology,CC4401-TeraCity/TeraCity,jacklotusho/Terasology,CC4401-TeraCity/TeraCity,Nanoware/Terasology,sceptross/Terasology,frankpunx/Terasology,immortius/Terasology,samuto/Terasology,samuto/Terasology,mertserezli/Terasology,kartikey0303/Terasology,sceptross/Terasology