From 2ef288402e3c6f3f736886f65fdc81842946dc49 Mon Sep 17 00:00:00 2001 From: Insality Date: Sun, 14 Jun 2020 13:23:21 +0300 Subject: [PATCH] Typo fix in custom component --- druid/base/component.template.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/druid/base/component.template.lua b/druid/base/component.template.lua index 4462190..3a72b7d 100644 --- a/druid/base/component.template.lua +++ b/druid/base/component.template.lua @@ -1,7 +1,7 @@ local const = require("druid.const") local component = require("druid.component") -local M = component.create("my_component_name", { M.ON_UPDATE }) +local M = component.create("my_component_name", { const.ON_UPDATE }) -- Component constructor