summaryrefslogtreecommitdiff
path: root/class_layout.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-09-14 16:57:17 +0200
committerroot <root@linux-forks.de>2018-09-14 16:57:17 +0200
commit76f723270ef58c236a6fd78a0c6aef53997582f7 (patch)
tree2122d0d093608f994f1f6c5ad444a342959dd18a /class_layout.lua
parent1bf8cf53732b59835f7b121447386f06259fdc30 (diff)
parentd3397563ec29b193aa2bfd720da1a4aba34304d3 (diff)
Merge branch 'master' of https://github.com/minetest-mods/digtron
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