Replace dedicated server references with the new global variable.