mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-12 12:38:02 +00:00
Attempting to make a potion with no effects removes the ingredients (Fixes #2722)
This commit is contained in:
parent
33a3dabc31
commit
6f34a0501a
@ -463,7 +463,10 @@ MWMechanics::Alchemy::Result MWMechanics::Alchemy::create (const std::string& na
|
||||
return Result_NoName;
|
||||
|
||||
if (listEffects().empty())
|
||||
{
|
||||
removeIngredients();
|
||||
return Result_NoEffects;
|
||||
}
|
||||
|
||||
if (beginEffects() == endEffects())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user