Forgot to set Unit::setLocal