Merge remote-tracking branch 'peridexis/fix_hfs-pit' into develop

Conflicts:
	NEWS
develop
expwnent 2015-01-31 20:19:42 -05:00
commit b685aa2729
2 changed files with 2 additions and 1 deletions

@ -5,6 +5,7 @@ DFHack Future
Fixes
dfhack.run_script should correctly find save-specific scripts now.
Updated add-thought to properly affect stress.
hfs-pit should work now
New Plugins
New Scripts
New Tweaks

@ -20,7 +20,7 @@ wallOff = tonumber(args[2])
stairs = tonumber(args[3])
--Get the layer of the underworld
for index,value in ipairs(df.global.world.cur_savegame.map_features) do
for index,value in ipairs(df.global.world.features.map_features) do
local featureType=value:getType()
if featureType==9 then --Underworld
underworldLayer = value.layer