diff --git a/utils.c b/utils.c index fae0c19..9167381 100644 --- a/utils.c +++ b/utils.c @@ -203,7 +203,11 @@ short _get_dest_zone(struct barrel *bar, char robot_id) { if (hla_night_mode) { short nz = get_first_night_zone(); if (one_robot_mode) { - return nz; + if (nz < 0) { + return hla_exchange_zone; + } else { + return nz; + } } else { if (nz < hla_exchange_zone) { return hla_exchange_zone;