1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-04 02:24:00 +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)
} }
} }
} }
else if (startData->Attribute("ingr")) // use this only if ingrNames does not exist.
if (startData->Attribute("ingr"))
{ {
std::istringstream is(startData->Attribute("ingr")); std::istringstream is(startData->Attribute("ingr"));
int idx; int idx;