diff options
author | LNJ <git@lnj.li> | 2017-04-01 22:41:35 +0200 |
---|---|---|
committer | LNJ <git@lnj.li> | 2017-04-01 22:41:35 +0200 |
commit | cb4af29165644860258c89bca2a4772c1945c18e (patch) | |
tree | a1df3bcf878917cc2eb94fcf974196b321245f37 /lua/visual.lua | |
parent | 0acdd1a48a4a41f27fde7313951660396e54e39b (diff) |
Visual: Fix not resetting self.namev0.2.2
Diffstat (limited to 'lua/visual.lua')
-rwxr-xr-x | lua/visual.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/visual.lua b/lua/visual.lua index 61b02a3..11dcc12 100755 --- a/lua/visual.lua +++ b/lua/visual.lua @@ -138,7 +138,8 @@ core.register_entity("drawers:visual", { end if self.count <= 0 then - meta:set_string("name", "") + self.itemName = "" + meta:set_string("name", self.itemName) self.texture = "drawers_empty.png" itemDescription = "Empty" end |