aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2022-08-13 16:35:28 +0200
committerGitHub <noreply@github.com>2022-08-13 15:35:28 +0100
commit3132efcc0181851192672c52d9f7814ccd2464f7 (patch)
tree58eb35dd8e03f2bdb7aee778a5d8bf521883b1e5 /builtin/game
parentab8dfb45b4e1f6b2c331cc9b8a367ae81cd16f42 (diff)
downloadminetest-3132efcc0181851192672c52d9f7814ccd2464f7.tar.xz
Reassure previous nil behaviour for tiles and special_tiles (#12678)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Diffstat (limited to 'builtin/game')
-rw-r--r--builtin/game/item.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/game/item.lua b/builtin/game/item.lua
index b49787987..00601c68c 100644
--- a/builtin/game/item.lua
+++ b/builtin/game/item.lua
@@ -597,8 +597,8 @@ core.nodedef_default = {
-- Node properties
drawtype = "normal",
visual_scale = 1.0,
- tiles = {},
- special_tiles = {},
+ tiles = nil,
+ special_tiles = nil,
post_effect_color = {a=0, r=0, g=0, b=0},
paramtype = "none",
paramtype2 = "none",