From 50eb613a532e6f7ba8b2d74c1028d9f821ce461d Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 22 Mar 2021 19:21:27 +0100 Subject: [PATCH] feat: make charDir customizable --- sonic-radiance.love/scenes/overworld/actors/gizmo.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-radiance.love/scenes/overworld/actors/gizmo.lua b/sonic-radiance.love/scenes/overworld/actors/gizmo.lua index 76f6eb8..de5a069 100644 --- a/sonic-radiance.love/scenes/overworld/actors/gizmo.lua +++ b/sonic-radiance.love/scenes/overworld/actors/gizmo.lua @@ -38,6 +38,7 @@ function Gizmo:applyProperties() self.needButton = self.properties.needButton self.charId = self.properties.charId or 1 self.charset = self.properties.charset or nil + self.charDir = self.properties.charDir or "down" self.cantTurn = self.properties.cantTurn or self.cantTurn if (self.properties.event ~= nil) then local data = require("datas.gamedata.events." .. self.properties.event)