mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-10 16:19:59 +00:00
Some simplifications in ingredient name handling, by Henrik Holst
This commit is contained in:
parent
0caed714fb
commit
918c69d15b
3 changed files with 4 additions and 14 deletions
|
@ -3263,14 +3263,12 @@ void Continuity::reset()
|
|||
if(dsq->mod.isActive())
|
||||
{
|
||||
//load mod ingredients
|
||||
fname = localisePath(dsq->mod.getPath() + "ingredients.txt", dsq->mod.getPath());
|
||||
loadIngredientData(fname);
|
||||
loadIngredientData(dsq->mod.getPath() + "ingredients.txt");
|
||||
}
|
||||
|
||||
//load ingredients for the main game
|
||||
if(ingredientData.empty() && recipes.empty()) {
|
||||
fname = localisePath("data/ingredients.txt");
|
||||
loadIngredientData(fname);
|
||||
loadIngredientData("data/ingredients.txt");
|
||||
}
|
||||
|
||||
loadPetData();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue