mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 02:45:32 +00:00
Exit dialogue when going to jail (Fixes #1635)
This commit is contained in:
parent
0704fa2b3d
commit
53c70dbdaa
1 changed files with 2 additions and 0 deletions
|
@ -2652,6 +2652,8 @@ namespace MWWorld
|
|||
{
|
||||
mGoToJail = false;
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(MWGui::GM_Dialogue);
|
||||
|
||||
MWWorld::Ptr player = getPlayerPtr();
|
||||
teleportToClosestMarker(player, "prisonmarker");
|
||||
int bounty = player.getClass().getNpcStats(player).getBounty();
|
||||
|
|
Loading…
Reference in a new issue