mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-25 09:50:19 +01:00
fpga: Make formspec usage less prone to breakage
This commit is contained in:
parent
07d074075c
commit
2bc3c5d97c
@ -211,6 +211,7 @@ plg.from_formspec_fields = function(fields)
|
||||
["="] = "buf",
|
||||
["XNOR"] = "xnor",
|
||||
}
|
||||
s = s:gsub("^%s*", "") -- remove leading spaces
|
||||
return mapping[s]
|
||||
end
|
||||
local is = {}
|
||||
|
Loading…
Reference in New Issue
Block a user