From c03894321a4259bae85acce634d014aa0ed7759f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 5 Jun 2024 23:07:40 +0200 Subject: [PATCH] Fix file write warning in devtest closes #14721 --- games/devtest/mods/testnodes/textures.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/games/devtest/mods/testnodes/textures.lua b/games/devtest/mods/testnodes/textures.lua index 0caaaed9d..86bc3e343 100644 --- a/games/devtest/mods/testnodes/textures.lua +++ b/games/devtest/mods/testnodes/textures.lua @@ -181,14 +181,6 @@ fractal = nil frac_emb = nil checker = nil -do - -- we used to write the textures to our mod folder. in order to avoid - -- duplication errors delete them if they still exist. - local path = core.get_modpath(core.get_current_modname()) .. "/textures/" - os.remove(path .. "testnodes_generated_mb.png") - os.remove(path .. "testnodes_generated_ck.png") -end - local textures_path = core.get_worldpath() .. "/" core.safe_file_write( textures_path .. "testnodes1.png",