summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua/lm_monst.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dat/clua/lm_monst.lua')
-rw-r--r--crawl-ref/source/dat/clua/lm_monst.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/dat/clua/lm_monst.lua b/crawl-ref/source/dat/clua/lm_monst.lua
index 539b7b140b..73b32cbc3c 100644
--- a/crawl-ref/source/dat/clua/lm_monst.lua
+++ b/crawl-ref/source/dat/clua/lm_monst.lua
@@ -49,15 +49,11 @@ function MonsterOnTrigger:new(pars)
mot.message_unseen = pars.message_unseen
mot.death_monster = pars.death_monster
mot.new_monster = pars.new_monster
- mot.props = pars
+ mot.props = util.append( mot.props, pars)
return mot
end
-function MonsterOnTrigger:property(marker, pname)
- return self.props[pname] or ''
-end
-
function MonsterOnTrigger:write(marker, th)
MonsterOnTrigger.super.write(self, marker, th)