Correct a bug on the time calculation

This commit is contained in:
Gus
2025-07-23 17:45:18 -03:00
committed by GitHub
parent 2674d42376
commit df8e4eeecb

View File

@@ -201,14 +201,16 @@ void time_check(){
if (act_time[1] >= 60){ //check hours
act_time[1] = 0;
act_time[2] += 1;
if (act_time[1] >= 24){ //check days
}
if (act_time[2] >= 24){ //check days
act_time[2] = 0;
act_time[3] += 1;
if (pet_lvl == 1){
evolve_ani = true;
}
}
}
}
}
}