Fixed crash on dedicated server.