summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua/lm_tmsg.lua
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-28 16:40:16 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-28 16:40:16 +0000
commitdffee8499755c8d949733677cf73e3f227ee12cd (patch)
tree2d815e21aa6b98330ebf8595ac2605c295832461 /crawl-ref/source/dat/clua/lm_tmsg.lua
parent0371e07ab64fc457f74a6640f06a5b439038ceee (diff)
downloadcrawl-ref-dffee8499755c8d949733677cf73e3f227ee12cd.tar.gz
crawl-ref-dffee8499755c8d949733677cf73e3f227ee12cd.zip
Add the field CLASS to the metatable of each class, containing the name of the
class, so that table_to_string() can describe the class of each object. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8840 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/clua/lm_tmsg.lua')
-rw-r--r--crawl-ref/source/dat/clua/lm_tmsg.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dat/clua/lm_tmsg.lua b/crawl-ref/source/dat/clua/lm_tmsg.lua
index 7ffecddc21..91b3bfdb9b 100644
--- a/crawl-ref/source/dat/clua/lm_tmsg.lua
+++ b/crawl-ref/source/dat/clua/lm_tmsg.lua
@@ -3,7 +3,7 @@
-- Messaging for timed Lua markers.
------------------------------------------------------------------------------
-TimedMessaging = { }
+TimedMessaging = { CLASS = "TimedMessaging" }
TimedMessaging.__index = TimedMessaging
function TimedMessaging:new(m, nocheck)
@@ -229,4 +229,4 @@ function time_messages(total_turns, ...)
end
table.insert(res, { 0, messages[n] })
return res
-end \ No newline at end of file
+end