summaryrefslogtreecommitdiff
path: root/lua/visual.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/visual.lua')
-rwxr-xr-xlua/visual.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/visual.lua b/lua/visual.lua
index 43eb81f..aee4a3b 100755
--- a/lua/visual.lua
+++ b/lua/visual.lua
@@ -51,7 +51,7 @@ core.register_entity("drawers:visual", {
on_activate = function(self, staticdata, dtime_s)
-- Restore data
- data = core.deserialize(staticdata)
+ local data = core.deserialize(staticdata)
if data then
self.drawer_pos = {
x = data.drawer_posx,