Fix dedicated server crash