-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix triggers for actions with a "text" attribute.
For actions like `DoScript`, the action itself invokes the script by retrieving the script contents via `getValueDictByKey`, but we were never setting the dict key. It's not clear if this is a symptomatic issue or if the triggers use the text as a fallback if the key is not set, but this does at least cut down on differences between what pydcs produces and what the mission editor produces, which makes debugging easier. The changes to `DoScript` and `MarkTo*` were determined by diffing a mission file before and after re-saving the mission from the editor. The changes to other action types are an assumption.
- Loading branch information
Showing
1 changed file
with
90 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters