Fix flipped backside of painting

This commit is contained in:
Wuzzy 2024-08-29 20:36:36 +02:00
parent 2b41a41052
commit 0ecd7a357d

View File

@ -680,7 +680,7 @@ local painting_box = {
xdecor.register("painting_1", {
description = S("Painting"),
tiles = {"xdecor_painting_1.png"},
tiles = {"xdecor_painting_1.png","xdecor_painting_1.png^[transformR180","xdecor_painting_1.png"},
use_texture_alpha = ALPHA_OPAQUE,
inventory_image = "xdecor_painting_empty.png",
wield_image = "xdecor_painting_empty.png",
@ -733,7 +733,7 @@ xdecor.register("painting_1", {
for i = 2, 4 do
xdecor.register("painting_" .. i, {
tiles = {"xdecor_painting_" .. i .. ".png"},
tiles = {"xdecor_painting_"..i..".png","xdecor_painting_"..i..".png^[transformR180","xdecor_painting_"..i..".png"},
use_texture_alpha = ALPHA_OPAQUE,
paramtype2 = "wallmounted",
drop = "xdecor:painting_1",