diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-28 16:40:16 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-28 16:40:16 +0000 |
commit | dffee8499755c8d949733677cf73e3f227ee12cd (patch) | |
tree | 2d815e21aa6b98330ebf8595ac2605c295832461 /crawl-ref/source/dat/clua/lm_props.lua | |
parent | 0371e07ab64fc457f74a6640f06a5b439038ceee (diff) | |
download | crawl-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_props.lua')
-rw-r--r-- | crawl-ref/source/dat/clua/lm_props.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/clua/lm_props.lua b/crawl-ref/source/dat/clua/lm_props.lua index 03c746eb32..05f71fb4ba 100644 --- a/crawl-ref/source/dat/clua/lm_props.lua +++ b/crawl-ref/source/dat/clua/lm_props.lua @@ -3,7 +3,7 @@ -- Property markers. ------------------------------------------------------------------------------ -PropertiesDescriptor = { } +PropertiesDescriptor = { CLASS = "PropertiesDescriptor" } PropertiesDescriptor.__index = PropertiesDescriptor function PropertiesDescriptor:new(properties) |