Peridexis Errant 2015-01-28 09:33:26 +11:00
parent 4c5b6a5282
commit fa4a781763
2 changed files with 2 additions and 1 deletions

@ -1,6 +1,7 @@
DFHack Future DFHack Future
Internals Internals
Fixes Fixes
hfs-pit should work now
New Plugins New Plugins
New Scripts New Scripts
New Tweaks New Tweaks

@ -20,7 +20,7 @@ wallOff = tonumber(args[2])
stairs = tonumber(args[3]) stairs = tonumber(args[3])
--Get the layer of the underworld --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() local featureType=value:getType()
if featureType==9 then --Underworld if featureType==9 then --Underworld
underworldLayer = value.layer underworldLayer = value.layer