From 20a8fc4ea861d11a2860923e081bf88436971fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Mon, 5 Oct 2009 20:56:50 +0200 Subject: [PATCH] Allow an action to execute another and rerun after it --- src/main/actions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/actions.c b/src/main/actions.c index 0273612..e7361f8 100644 --- a/src/main/actions.c +++ b/src/main/actions.c @@ -271,6 +271,7 @@ liHandlerResult li_action_execute(liVRequest *vr) { li_action_stack_reset(vr, as); case LI_HANDLER_COMEBACK: case LI_HANDLER_WAIT_FOR_EVENT: + if (ase != action_stack_top(as)) break; /* allow an action to push another action and rerun after it again */ return res; } break;