Fixed crashing on dedicated servers #3