summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua/lm_1way.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dat/clua/lm_1way.lua')
-rw-r--r--crawl-ref/source/dat/clua/lm_1way.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/clua/lm_1way.lua b/crawl-ref/source/dat/clua/lm_1way.lua
index e6e56beced..35fd85a522 100644
--- a/crawl-ref/source/dat/clua/lm_1way.lua
+++ b/crawl-ref/source/dat/clua/lm_1way.lua
@@ -20,7 +20,7 @@ end
function OneWayStair:event(marker, ev)
if ev:type() == dgn.dgn_event_type('player_climb') then
local x, y = ev:pos()
- dgn.terrain_changed(x, y, 'floor', false)
+ dgn.terrain_changed(x, y, self.props.floor or 'floor', false)
dgn.remove_listener(marker, ev:pos())
dgn.remove_marker(marker)
end