UserAction: Add missing SetCondition setter function

qteditor
Sven Eberhardt 2016-08-08 16:24:06 -04:00
parent be60b276d0
commit d5cc9c2a36
1 changed files with 6 additions and 0 deletions

View File

@ -432,6 +432,12 @@ public func SetAction(new_action, new_action_progress_mode, new_action_allow_par
return true;
}
public func SetCondition(new_condition)
{
condition = new_condition;
return true;
}
public func SetActive(bool new_active, bool force_triggers)
{
if (active == new_active && !force_triggers) return true;