aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-12-14 22:26:04 +0100
committerorwell96 <orwell@bleipb.de>2019-12-14 22:26:04 +0100
commitd123679b3c6e44a002ea2fb9e32daa1aa1b0663d (patch)
tree51f53ed4865aa0868c659c4ff691a9f42f4b2d65
parenta8ae0a5332934d61739edddeefb6d9184cfce529 (diff)
downloadadvtrains-d123679b3c6e44a002ea2fb9e32daa1aa1b0663d.tar.gz
advtrains-d123679b3c6e44a002ea2fb9e32daa1aa1b0663d.tar.bz2
advtrains-d123679b3c6e44a002ea2fb9e32daa1aa1b0663d.zip
Do not set infotext on Ks signal aspect change
Possible migitation for Linuxworks RAM explosion
-rw-r--r--advtrains_signals_ks/init.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua
index 34fb6d3..c65d5f8 100644
--- a/advtrains_signals_ks/init.lua
+++ b/advtrains_signals_ks/init.lua
@@ -19,10 +19,6 @@ local setaspectf = function(rot)
advtrains.ndb.swap_node(pos, {name="advtrains_signals_ks:hs_slow_"..rot, param2 = node.param2})
end
end
- local meta = minetest.get_meta(pos)
- if meta then
- meta:set_string("infotext", minetest.serialize(asp))
- end
end
end