aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2022-06-28 01:55:01 +0200
committerGitHub <noreply@github.com>2022-06-28 00:55:01 +0100
commit18fbc0394b9b3fc4e1e72550fb0e1113ee72ce64 (patch)
tree0a2e9ac62b2810aa7fbc7a5a3ee4c3e40dad4103 /src/script
parent35ad006234ce40edc4c59feee63fb1546f643508 (diff)
downloadminetest-18fbc0394b9b3fc4e1e72550fb0e1113ee72ce64.tar.gz
minetest-18fbc0394b9b3fc4e1e72550fb0e1113ee72ce64.tar.bz2
minetest-18fbc0394b9b3fc4e1e72550fb0e1113ee72ce64.zip
Remove tile_images and special_materials obsolete code (#12455)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Diffstat (limited to 'src/script')
-rw-r--r--src/script/common/c_content.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp
index 12a73d65e..1f9f97781 100644
--- a/src/script/common/c_content.cpp
+++ b/src/script/common/c_content.cpp
@@ -550,13 +550,6 @@ void read_content_features(lua_State *L, ContentFeatures &f, int index)
// tiles = {}
lua_getfield(L, index, "tiles");
- // If nil, try the deprecated name "tile_images" instead
- if(lua_isnil(L, -1)){
- lua_pop(L, 1);
- warn_if_field_exists(L, index, "tile_images",
- "Deprecated; new name is \"tiles\".");
- lua_getfield(L, index, "tile_images");
- }
if(lua_istable(L, -1)){
int table = lua_gettop(L);
lua_pushnil(L);
@@ -613,13 +606,6 @@ void read_content_features(lua_State *L, ContentFeatures &f, int index)
// special_tiles = {}
lua_getfield(L, index, "special_tiles");
- // If nil, try the deprecated name "special_materials" instead
- if(lua_isnil(L, -1)){
- lua_pop(L, 1);
- warn_if_field_exists(L, index, "special_materials",
- "Deprecated; new name is \"special_tiles\".");
- lua_getfield(L, index, "special_materials");
- }
if(lua_istable(L, -1)){
int table = lua_gettop(L);
lua_pushnil(L);