diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2018-07-21 04:57:08 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2018-07-21 04:57:08 +0200 |
commit | f4bd77eb011515fd8a2a06f30000d33091dd7ceb (patch) | |
tree | 397a64d03cfa8ebd6b28bb101a7845aa80015457 | |
parent | a046cfe221633e38010b0e7a01262ff27b5fdc2e (diff) |
made a variable local
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -455,7 +455,7 @@ apartment.rent = function( pos, pname, oldmetadata, actor ) -- change the actual owner -- set a fitting infotext local itext = 'Object in Ap. '..descr..' ('..rented_by..')'; - n = minetest.get_node( {x=px, y=py, z=pz} ); + local n = minetest.get_node( {x=px, y=py, z=pz} ); if( n.name == 'default:chest_locked' ) then if( pname == '' ) then itext = "Locked Chest (owned by "..original_owner..")"; |