From 09f52d7948e683e144ae4cd9d1640322908866b5 Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Wed, 11 Dec 2024 22:53:26 +0100 Subject: [PATCH] Fix entity using wrong image for icon --- src/changelog.txt | 5 +++++ src/prototypes/combinator.lua | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/changelog.txt b/src/changelog.txt index 0d9c190..581b90f 100644 --- a/src/changelog.txt +++ b/src/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.4.3 +Date: 2024-12-11 + Graphics: + - Fix entity using wrong image for icon. +--------------------------------------------------------------------------------------------------- Version: 2.4.2 Date: 2024-12-09 Bugfixes: diff --git a/src/prototypes/combinator.lua b/src/prototypes/combinator.lua index c4af6d9..15af4ba 100644 --- a/src/prototypes/combinator.lua +++ b/src/prototypes/combinator.lua @@ -3,9 +3,9 @@ local flib_data_util = require "__flib__.data-util" local name = constants.ENTITY_NAME local combi = flib_data_util.copy_prototype(data.raw["constant-combinator"]["constant-combinator"], name) -combi.icon = "__cybersyn-combinator__/graphics/entity/combinator/cybersyn-combinator.png" +combi.icon = "__cybersyn-combinator__/graphics/icons/cybersyn-combinator.png" combi.icon_size = 64 -combi.icon_mipmaps = nil +combi.icon_mipmaps = 4 combi.next_upgrade = nil combi.fast_replaceable_group = "constant-combinator" combi.sprites = make_4way_animation_from_spritesheet {