aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/signal_aspect_accessors.lua
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-08-13 16:16:17 +0200
committerY. Wang <yw05@forksworld.de>2023-03-23 20:06:02 +0100
commita4abbf8824f893558861bff2893181ae02ed284d (patch)
tree2aca28114679f5d52c52b868855505c1a56b500e /advtrains_interlocking/signal_aspect_accessors.lua
parent6ae0615309bd5862a7480686ccba01a24b69356b (diff)
downloadadvtrains-a4abbf8824f893558861bff2893181ae02ed284d.tar.gz
advtrains-a4abbf8824f893558861bff2893181ae02ed284d.tar.bz2
advtrains-a4abbf8824f893558861bff2893181ae02ed284d.zip
Add hotfix for path invalidation
Diffstat (limited to 'advtrains_interlocking/signal_aspect_accessors.lua')
-rw-r--r--advtrains_interlocking/signal_aspect_accessors.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/advtrains_interlocking/signal_aspect_accessors.lua b/advtrains_interlocking/signal_aspect_accessors.lua
index e23aa13..a1cbd4e 100644
--- a/advtrains_interlocking/signal_aspect_accessors.lua
+++ b/advtrains_interlocking/signal_aspect_accessors.lua
@@ -108,6 +108,11 @@ local function set_aspect(pos, asp, skipdst)
if (not skipdst) and aspect_changed then
D.update_main(pos)
end
+ --[[
+ local dbgmsg = string.format("[%s]set_aspect(%s,%s,%s)", os.clock(), minetest.pos_to_string(pos), minetest.serialize(asp), tostring(skipdst))
+ dbgmsg = debug.traceback(dbgmsg, 2)
+ minetest.chat_send_all(dbgmsg)
+ --]]
end
end