Fixes crash when trying to get data while game is loading by moving data comparison inside try section.