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