mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 22:15:33 +00:00
fix speechcraft skill increasing when persuade didn't succeed
This commit is contained in:
parent
dc8f74138b
commit
8e847fdc6e
1 changed files with 2 additions and 1 deletions
|
@ -977,7 +977,8 @@ namespace MWDialogue
|
|||
// practice skill
|
||||
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();
|
||||
|
||||
MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, 0);
|
||||
if (success)
|
||||
MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, 0);
|
||||
|
||||
|
||||
// add status message to dialogue window
|
||||
|
|
Loading…
Reference in a new issue