summaryrefslogtreecommitdiff
path: root/src/scripting
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-03 20:34:57 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-03 21:24:45 +0100
commitb2fde0cf32348355f7725c6a7b0a523e0958c1a4 (patch)
treef12ab2fff979db589bc5a4a6de6fc7e8b4d67313 /src/scripting
parent84c87cc99be29a694f0ffe83ab7a06ae433bb0cd (diff)
downloadmanaserv-b2fde0cf32348355f7725c6a7b0a523e0958c1a4.tar.gz
manaserv-b2fde0cf32348355f7725c6a7b0a523e0958c1a4.tar.bz2
manaserv-b2fde0cf32348355f7725c6a7b0a523e0958c1a4.tar.xz
manaserv-b2fde0cf32348355f7725c6a7b0a523e0958c1a4.zip
Made some global Lua variables local
We have to be careful with introducing globals now that there is only a single Lua state, so we shouldn't use globals unnecessarily. Any variable should be declared 'local' unless there is a reason to make it global. For additional safety we can also think about disallowing the use of globals entirely. This also helps to catch typos in scripts. Reviewed-by: Erik Schilling
Diffstat (limited to 'src/scripting')
0 files changed, 0 insertions, 0 deletions