diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-10-23 18:10:47 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-10-23 18:10:47 +0200 |
commit | 3c79ab6847a1a22bdcda9f806ee2062797e5ce83 (patch) | |
tree | 36974347e40c2f89e9185fdaad848844559653ab | |
parent | 418a9606bf79abbb6d4c9d488b5093309eae1b4d (diff) | |
download | apartment-3c79ab6847a1a22bdcda9f806ee2062797e5ce83.tar.gz apartment-3c79ab6847a1a22bdcda9f806ee2062797e5ce83.tar.bz2 apartment-3c79ab6847a1a22bdcda9f806ee2062797e5ce83.zip |
Fixed bug with doors
Now also open doors will be rented.
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -466,7 +466,7 @@ apartment.rent = function( pos, pname, oldmetadata, actor ) itext = "Locked Chest in Ap. "..descr.." ("..rented_by..")"; end elseif( n.name == 'doors:door_steel_b_1' or n.name == 'doors:door_steel_t_1' - or n.name == 'doors:door_steel_a' or n.name == 'doors:door_steel_a' + or n.name == 'doors:door_steel_a' or n.name == 'doors:door_steel_b' or n.name == 'doors:door_steel_b_2' or n.name == 'doors:door_steel_t_2' ) then if( pname=='' ) then itext = "Locked Door (owned by "..original_owner..")"; |