Timer empty constructor

This commit is contained in:
Maddy Thorson 2021-02-07 14:13:35 -08:00
parent 3b681a0149
commit b41ff6078c

View File

@ -10,7 +10,7 @@ namespace Strawberry
public Action OnComplete ~ delete _; public Action OnComplete ~ delete _;
public bool RemoveOnComplete; public bool RemoveOnComplete;
public this(Action onComplete, bool destroyOnComplete = false) public this(Action onComplete = null, bool destroyOnComplete = false)
{ {
OnComplete = onComplete; OnComplete = onComplete;
RemoveOnComplete = destroyOnComplete; RemoveOnComplete = destroyOnComplete;