Fixing adding problem

This commit is contained in:
Anton Dolozin 2025-11-04 23:27:19 +01:00
parent 1141499914
commit 72da9313a4

View File

@ -35,7 +35,7 @@ void add_target_capacity(struct station* station,const char* target, int capacit
if(count == res){
break;
}
else if (ptr->value == target){
if (ptr->value == target){
ptr->capacity += capacity;
return;
}