mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-13 07:14:31 +00:00
Fix getpcinjail returning 0 when the console is open
This commit is contained in:
parent
9bbe6f8c5e
commit
2223a69ab8
@ -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…
x
Reference in New Issue
Block a user