diff --git a/script/events.js b/script/events.js index a719a1935..1c08ff7f0 100644 --- a/script/events.js +++ b/script/events.js @@ -838,6 +838,7 @@ var Events = { if(event) { Engine.event('game event', 'event'); Engine.keyLock = true; + Engine.tabNavigation = false; Events.eventStack.unshift(event); event.eventPanel = $('
').attr('id', 'event').addClass('eventPanel').css('opacity', '0'); if(options != null && options.width != null) { @@ -870,6 +871,7 @@ var Events = { Events.eventStack.shift(); Engine.log(Events.eventStack.length + ' events remaining'); Engine.keyLock = false; + Engine.tabNavigation = true; if (Events.BLINK_INTERVAL) { Events.stopTitleBlink(); }