aboutsummaryrefslogtreecommitdiff
path: root/assets/blender/mbb/signal2.png
diff options
context:
space:
mode:
authorhlqkj <kris88hl@gmail.com>2021-03-09 10:03:44 +0100
committerorwell96 <orwell@bleipb.de>2021-03-22 11:06:34 +0100
commit4fcc5527707d233535a9ed106cbd90892d95895c (patch)
tree6c745bdcf7cafcbbd0888370e78aa3ebda3dafa5 /assets/blender/mbb/signal2.png
parentace8ca0fdac5bfcc588d9ec47c24e28d699e3ca9 (diff)
downloadadvtrains-4fcc5527707d233535a9ed106cbd90892d95895c.tar.gz
advtrains-4fcc5527707d233535a9ed106cbd90892d95895c.tar.bz2
advtrains-4fcc5527707d233535a9ed106cbd90892d95895c.zip
Remove "Last punched" from LuaATC init code fs
Also removed the now-dead last punch pos helper code. Resized buttons accordinghly.
Diffstat (limited to 'assets/blender/mbb/signal2.png')
0 files changed, 0 insertions, 0 deletions
t">= ("%s\0%d\0%s"):format(info.source, info.currentline, name) if not warned[warn_key] and info.what ~= "main" and info.what ~= "C" then core.log("warning", ("Assignment to undeclared ".. "global %q inside a function at %s.") :format(name, desc)) warned[warn_key] = true end declared[name] = true end -- Ignore mod namespaces if WARN_INIT and name ~= core.get_current_modname() then core.log("warning", ("Global variable %q created at %s.") :format(name, desc)) end rawset(self, name, value) end function meta:__index(name) local info = debug.getinfo(2, "Sl") local warn_key = ("%s\0%d\0%s"):format(info.source, info.currentline, name) if not declared[name] and not warned[warn_key] and info.what ~= "C" then core.log("warning", ("Undeclared global variable %q accessed at %s:%s") :format(name, info.short_src, info.currentline)) warned[warn_key] = true end return rawget(self, name) end setmetatable(_G, meta)