From 78f55765c1f81f3362b2a60f6d3555e912099923 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 28 Jul 2021 17:49:01 -0400 Subject: [PATCH] Clear fallback sprite for core thrusters --- core/assets-raw/sprites/effects/clear-effect.png | Bin 0 -> 83 bytes .../mindustry/world/blocks/storage/CoreBlock.java | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 core/assets-raw/sprites/effects/clear-effect.png diff --git a/core/assets-raw/sprites/effects/clear-effect.png b/core/assets-raw/sprites/effects/clear-effect.png new file mode 100644 index 0000000000000000000000000000000000000000..92e99b0ef349ed7a58e567c0c298464beac76842 GIT binary patch literal 83 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1|;Q0k92}K#X;^)4C~IxyaaN1JzX3_IA$jQ ds8;A^m$66XK_ literal 0 HcmV?d00001 diff --git a/core/src/mindustry/world/blocks/storage/CoreBlock.java b/core/src/mindustry/world/blocks/storage/CoreBlock.java index 621c36b25a..f5c8b690dd 100644 --- a/core/src/mindustry/world/blocks/storage/CoreBlock.java +++ b/core/src/mindustry/world/blocks/storage/CoreBlock.java @@ -29,8 +29,8 @@ public class CoreBlock extends StorageBlock{ //hacky way to pass item modules between methods private static ItemModule nextItems; - public @Load("@-thruster1") TextureRegion thruster1; //top right - public @Load("@-thruster2") TextureRegion thruster2; //bot left + public @Load(value = "@-thruster1", fallback = "clear-effect") TextureRegion thruster1; //top right + public @Load(value = "@-thruster2", fallback = "clear-effect") TextureRegion thruster2; //bot left public float thrusterLength = 14f/4f; public UnitType unitType = UnitTypes.alpha;