Build 0.21.6.0 (1.0 pre-patch)
This commit is contained in:
+7
-1
@@ -8,7 +8,8 @@ partial class CheckObjectiveAction : BinaryOptionAction
|
||||
public enum CheckType
|
||||
{
|
||||
Added,
|
||||
Completed
|
||||
Completed,
|
||||
Incomplete
|
||||
}
|
||||
|
||||
[Serialize(CheckType.Completed, IsPropertySaveable.Yes)]
|
||||
@@ -30,8 +31,13 @@ partial class CheckObjectiveAction : BinaryOptionAction
|
||||
{
|
||||
CheckType.Added => true,
|
||||
CheckType.Completed => segment.IsCompleted,
|
||||
CheckType.Incomplete => !segment.IsCompleted,
|
||||
_ => false
|
||||
};
|
||||
}
|
||||
else if (Type == CheckType.Incomplete)
|
||||
{
|
||||
success = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user