mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 08:15:33 +01:00 
			
		
		
		
	fix missing rules for gates
This commit is contained in:
		| @@ -275,7 +275,7 @@ for i, g in ipairs(gate_list) do | |||||||
| 		end, | 		end, | ||||||
|         mesecons = { |         mesecons = { | ||||||
|             effector = { |             effector = { | ||||||
| 				rules = m_rules, | 				rules = mesecon.rules.pplate, | ||||||
|                 action_on = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "closed") end |                 action_on = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "closed") end | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| @@ -304,7 +304,7 @@ for i, g in ipairs(gate_list) do | |||||||
|         return itemstack |         return itemstack | ||||||
| 	end | 	end | ||||||
|     def.mesecons.effector = { |     def.mesecons.effector = { | ||||||
| 		rules = m_rules, | 		rules = mesecon.rules.pplate, | ||||||
|         action_off = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "open") end |         action_off = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "open") end | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user