From b41ff6078c91c9b9f83d232534893d2fababab8d Mon Sep 17 00:00:00 2001 From: Maddy Thorson Date: Sun, 7 Feb 2021 14:13:35 -0800 Subject: [PATCH] Timer empty constructor --- src/Components/Logic/Timer.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Logic/Timer.bf b/src/Components/Logic/Timer.bf index 89b7866..9c2d547 100644 --- a/src/Components/Logic/Timer.bf +++ b/src/Components/Logic/Timer.bf @@ -10,7 +10,7 @@ namespace Strawberry public Action OnComplete ~ delete _; public bool RemoveOnComplete; - public this(Action onComplete, bool destroyOnComplete = false) + public this(Action onComplete = null, bool destroyOnComplete = false) { OnComplete = onComplete; RemoveOnComplete = destroyOnComplete;