summaryrefslogtreecommitdiff
path: root/class_layout.lua
diff options
context:
space:
mode:
Diffstat (limited to 'class_layout.lua')
-rw-r--r--class_layout.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/class_layout.lua b/class_layout.lua
index 14c116b..541fd35 100644
--- a/class_layout.lua
+++ b/class_layout.lua
@@ -458,7 +458,7 @@ function DigtronLayout.deserialize(layout_string)
if not layout_string or layout_string == "" then
return nil
end
- deserialized_layout = minetest.deserialize(layout_string)
+ local deserialized_layout = minetest.deserialize(layout_string)
self.all = deserialized_layout.all
self.controller = deserialized_layout.controller