1
0
镜像自地址 git://repo.or.cz/minetest_schemedit.git 已同步 2025-09-18 11:40:35 +02:00

Fix 2 vars leaking into _G

这个提交包含在:
Wuzzy
2017-09-02 21:51:54 +02:00
父节点 0a13482677
当前提交 f8e529bc27

查看文件

@@ -1,6 +1,6 @@
-- advschem/init.lua -- advschem/init.lua
advschem = {} local advschem = {}
-- Directory delimeter fallback (normally comes from builtin) -- Directory delimeter fallback (normally comes from builtin)
if not DIR_DELIM then if not DIR_DELIM then
@@ -792,7 +792,7 @@ minetest.register_tool("advschem:probtool", {
-- This sets the node probability of pointed node to the -- This sets the node probability of pointed node to the
-- currently used probability stored in the tool. -- currently used probability stored in the tool.
pos = pointed_thing.under local pos = pointed_thing.under
local node = minetest.get_node(pos) local node = minetest.get_node(pos)
-- Schematic void are ignored, they always have probability 0 -- Schematic void are ignored, they always have probability 0
if node.name == "advschem:void" then if node.name == "advschem:void" then