mirror of
				git://repo.or.cz/minetest_schemedit.git
				synced 2025-10-30 04:15:18 +01:00 
			
		
		
		
	Fix 2 vars leaking into _G
This commit is contained in:
		
							
								
								
									
										4
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.lua
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | ||||
| -- advschem/init.lua | ||||
|  | ||||
| advschem = {} | ||||
| local advschem = {} | ||||
|  | ||||
| -- Directory delimeter fallback (normally comes from builtin) | ||||
| if not DIR_DELIM then | ||||
| @@ -792,7 +792,7 @@ minetest.register_tool("advschem:probtool", { | ||||
| 		-- This sets the node probability of pointed node to the | ||||
| 		-- currently used probability stored in the tool. | ||||
|  | ||||
| 		pos = pointed_thing.under | ||||
| 		local pos = pointed_thing.under | ||||
| 		local node = minetest.get_node(pos) | ||||
| 		-- Schematic void are ignored, they always have probability 0 | ||||
| 		if node.name == "advschem:void" then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user