From 976d919ab62b3de5bdd8905ae8f908472cf8fd7f Mon Sep 17 00:00:00 2001 From: wlaub Date: Tue, 3 Oct 2023 18:18:43 -0600 Subject: [PATCH] Fix tileType in flag intro crusher Loenn plugin Currently the tiletype field doesn't seem to have any effect. Changing it to "tileType" Works On My Machine. --- Loenn/entities/FlagIntroCrusher.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Loenn/entities/FlagIntroCrusher.lua b/Loenn/entities/FlagIntroCrusher.lua index 88edb50..8cb2949 100644 --- a/Loenn/entities/FlagIntroCrusher.lua +++ b/Loenn/entities/FlagIntroCrusher.lua @@ -7,11 +7,11 @@ introCrusher.name = "VivHelper/FlagIntroCrusher" introCrusher.depth = 0 introCrusher.nodeLineRenderType = "line" introCrusher.nodeLimits = {1, 1} -introCrusher.fieldInformation = fakeTilesHelper.getFieldInformation("tiletype") +introCrusher.fieldInformation = fakeTilesHelper.getFieldInformation("tileType") introCrusher.placements = { name = "intro_crusher", data = { - tiletype = "3", + tileType = "3", flags = "", width = 8, height = 8, @@ -20,11 +20,11 @@ introCrusher.placements = { } } -introCrusher.sprite = fakeTilesHelper.getEntitySpriteFunction("tiletype", false) -introCrusher.nodeSprite = fakeTilesHelper.getEntitySpriteFunction("tiletype", false) +introCrusher.sprite = fakeTilesHelper.getEntitySpriteFunction("tileType", false) +introCrusher.nodeSprite = fakeTilesHelper.getEntitySpriteFunction("tileType", false) function introCrusher.nodeRectangle(room, entity, node) return utils.rectangle(node.x or 0, node.y or 0, entity.width or 8, entity.height or 8) end -return introCrusher \ No newline at end of file +return introCrusher