summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua/lm_timed.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_timed.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_timed.lua')
-rw-r--r--crawl-ref/source/dat/clua/lm_timed.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/clua/lm_timed.lua b/crawl-ref/source/dat/clua/lm_timed.lua
index 37be6998d9..a36f8aeaa8 100644
--- a/crawl-ref/source/dat/clua/lm_timed.lua
+++ b/crawl-ref/source/dat/clua/lm_timed.lua
@@ -7,6 +7,7 @@ require('clua/lm_tmsg.lua')
require('clua/lm_1way.lua')
TimedMarker = util.subclass(OneWayStair)
+TimedMarker.CLASS = "TimedMarker"
function TimedMarker:new(props)
props = props or { }
@@ -108,4 +109,4 @@ end
function timed_marker(pars)
return TimedMarker:new(pars)
-end \ No newline at end of file
+end