Skip to content

Commit

Permalink
Fixed actiondata to be variable list, allowing it to work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
robbyxp1 committed May 22, 2020
1 parent 759f5df commit 15814e1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file added Docs/Action V17 - ED 11.5.docx
Binary file not shown.
4 changes: 2 additions & 2 deletions EDDiscovery/Actions/ActionController.cs
Expand Up @@ -501,10 +501,10 @@ public void ActionRunOnRefresh()
SetInternalGlobal("RefreshCount", refreshcount);
SetInternalGlobal("Commander", commander);

if (actionfiles.IsConditionFlagSet(Variables.flagRunAtRefresh)) // any events have this flag? .. don't usually do this, so worth checking first
if (actionfiles.IsActionVarDefined("RunAtRefresh")) // any events have this flag? .. don't usually do this, so worth checking first
{
foreach (HistoryEntry he in discoverycontroller.history.EntryOrder)
ActionRunOnEntry(he, ActionEventEDList.RefreshJournal(he), Variables.flagRunAtRefresh);
ActionRunOnEntry(he, ActionEventEDList.RefreshJournal(he), "RunAtRefresh");
}

ActionRun(ActionEventEDList.onRefreshEnd);
Expand Down

0 comments on commit 15814e1

Please sign in to comment.