mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Fix getpcinjail returning 0 when the console is open
This commit is contained in:
parent
9bbe6f8c5e
commit
2223a69ab8
1 changed files with 1 additions and 1 deletions
|
@ -1007,7 +1007,7 @@ namespace MWScript
|
|||
|
||||
virtual void execute (Interpreter::Runtime &runtime)
|
||||
{
|
||||
runtime.push (MWBase::Environment::get().getWindowManager()->getMode() == MWGui::GM_Jail);
|
||||
runtime.push (MWBase::Environment::get().getWindowManager()->containsMode(MWGui::GM_Jail));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue