diff options
author | cheapie <no-email-for-you@example.com> | 2020-04-30 00:46:21 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2020-04-30 00:46:21 -0500 |
commit | a3cc68ddeecbd35b5f4dd75433a4e924a6932bb8 (patch) | |
tree | 75859ac3d695984e8961711008633cad8c741351 | |
parent | e6d3fbf074e325e2be7108ea02627ca47620c06d (diff) | |
download | digidisplay-a3cc68ddeecbd35b5f4dd75433a4e924a6932bb8.tar digidisplay-a3cc68ddeecbd35b5f4dd75433a4e924a6932bb8.tar.gz digidisplay-a3cc68ddeecbd35b5f4dd75433a4e924a6932bb8.tar.bz2 digidisplay-a3cc68ddeecbd35b5f4dd75433a4e924a6932bb8.tar.xz digidisplay-a3cc68ddeecbd35b5f4dd75433a4e924a6932bb8.zip |
Add compatibility with digistuff's channel copier
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -97,6 +97,7 @@ for _,i in pairs({"tiny","small","medium","large","huge"}) do type = "fixed", fixed = {-0.5,-0.5,0.4,0.5,0.5,0.5}, }, + _digistuff_channelcopier_fieldname = "channel", on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}]") |