SCI: check shouldQuit() in main loop
svn-id: r42609
This commit is contained in:
parent
bcd98e59e0
commit
3c8e328e5c
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ void run_vm(EngineState *s, int restoring) {
|
|||
|
||||
}
|
||||
|
||||
if (script_abort_flag)
|
||||
if (script_abort_flag || g_engine->shouldQuit())
|
||||
return; // Emergency
|
||||
|
||||
// Debug if this has been requested:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue