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:
parent
2bc3882a69
commit
318811f92d
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue