diff --git a/mystic/mpl_execute.pas b/mystic/mpl_execute.pas index f132cfe..e7e57c4 100644 --- a/mystic/mpl_execute.pas +++ b/mystic/mpl_execute.pas @@ -2319,7 +2319,11 @@ Begin If Pos('.', FN) = 0 Then FN := FN + mplExtExecute; If Pos(PathChar, FN) = 0 Then - FN := Config.ScriptPath + FN; + If FileExist(Session.Theme.ScriptPath + FN) Then + FN := Session.Theme.ScriptPath + FN + Else + If Session.Theme.Flags and thmFallBack <> 0 Then + FN := Config.ScriptPath + FN; MPEName := FN;