Composer has helped me identifying key issue which is this piece of code:
IF
GameModeStarted("Campaign",1)
THEN
GoalCompleted;

where 1 was forcing it work only in Editor