1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-03 18:14:01 +00:00

Savefile: Use ingr only if ingrNames does not exist.

Using ingrNames is a lot safer for changing ingredients.txt.
This commit is contained in:
fgenesis 2013-06-23 03:18:23 +02:00
parent 2bc3882a69
commit 318811f92d

View file

@ -2991,8 +2991,7 @@ void Continuity::loadFile(int slot)
}
}
}
if (startData->Attribute("ingr"))
else if (startData->Attribute("ingr")) // use this only if ingrNames does not exist.
{
std::istringstream is(startData->Attribute("ingr"));
int idx;