Closed oiaohm closed 6 years ago
Thank you for this bug report. I applied you fix (with a small change to keep the old behaviour of remembering the current open template between luacontroller tool uses) in https://github.com/minetest-mods/MoreMesecons/commit/8a56370ce8efd68d4ca54fde0bd6b5c37d35f601.
Thanks I knew my patch had to breaking something. Its not like someone codes a remembering system for no reason. I was just not seeing what. I had not noticed that template remembering was gone.
I have found when I was attempting to program 2 luacontrollers at the same time using the templates I was having the nightmare where the first one I opened was being overwritten and the one was pointing at was having nothing happen.
The patch includes is a really simple delete a piece of code and it now seams to work as expected as in programming what ever lua controller I happen to be pointing at.
moremesecons_luaprogrammerfix.diff.txt