Don't check other functions if you've already found one to fire.
This commit is contained in:
parent
cda791cfe8
commit
b4761e43a9
|
@ -128,6 +128,8 @@ void runScriptFunction(const char *format, ...)
|
|||
tail = scriptRunner;
|
||||
|
||||
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "Running script '%s'", funcNameBuffer);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
function = function->next;
|
||||
|
|
Loading…
Reference in New Issue