From 7ddebdbe4756f1c81f5e6a245420cc69a48fbd1b Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 28 Mar 2014 03:34:11 +1000 Subject: Shuffle the version printing around. --- ClientHamr/GuiLua/skang.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ClientHamr/GuiLua/skang.lua') diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index bd712f2..b7cf59b 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua @@ -136,6 +136,8 @@ moduleBegin = function (name, author, copyright, version, timestamp, skin) -- Dunno if this causes problems with the do ... end style of joining modules. It does. So we need to restore in moduleEnd(). -- Next question, does this screw with the environment of the skang module? No it doesn't, coz that's set up at require 'skang' time. + print('Loaded module ' .. _M._NAME .. ' version ' .. _M.VERSION .. ', ' .. _M.COPYRIGHT .. '.\n ' .. _M.VERSION_DESC) + return _M end @@ -149,7 +151,7 @@ end -- Call this now so that from now on, this is like any other module. local _M = moduleBegin('skang', 'David Seikel', 'Copyright 2014 David Seikel', '0.1', '2014-03-27 02:57:00') -print('Skang loaded, running under Lua version ' .. _VERSION) +print('Skang is running under Lua version ' .. _VERSION) csv2table = function (csv) -- cgit v1.1