forked from mirror/openmw-tes3mp
Attempting to make a potion with no effects removes the ingredients (Fixes #2722)
This commit is contained in:
parent
33a3dabc31
commit
6f34a0501a
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue