aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/register.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/register.lua')
-rw-r--r--builtin/game/register.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/builtin/game/register.lua b/builtin/game/register.lua
index b006957e9..1cff85813 100644
--- a/builtin/game/register.lua
+++ b/builtin/game/register.lua
@@ -118,10 +118,6 @@ function core.register_item(name, itemdef)
end
itemdef.name = name
- -- default short_description to first line of description
- itemdef.short_description = itemdef.short_description or
- (itemdef.description or ""):gsub("\n.*","")
-
-- Apply defaults and add to registered_* table
if itemdef.type == "node" then
-- Use the nodebox as selection box if it's not set manually