diff --git a/CorsixTH/Lua/graphics.lua b/CorsixTH/Lua/graphics.lua
index bead419..1460d49 100644
--- a/CorsixTH/Lua/graphics.lua
+++ b/CorsixTH/Lua/graphics.lua
@@ -448,8 +448,7 @@ function Graphics:loadAnimations(dir, prefix)
error("Cannot load original animations " .. prefix)
end
- if self.app.config.use_new_graphics and self.custom_graphics_folder then
- if self.custom_graphics.file_mapping then
+ if self.custom_graphics_folder and self.custom_graphics.file_mapping then
for _, fname in pairs(self.custom_graphics.file_mapping) do
anims:setCanvas(self.target)
local data, err = loadCustomAnims(self.custom_graphics_folder .. fname)
@@ -460,7 +459,6 @@ function Graphics:loadAnimations(dir, prefix)
end
end
end
- end
self.cache.anims[prefix] = anims
self.load_info[anims] = {self.loadAnimations, self, dir, prefix}