diff --git a/NEWS b/NEWS index 11bf20509..78ab89f5e 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ DFHack Future Internals Fixes + hfs-pit should work now New Plugins New Scripts New Tweaks diff --git a/scripts/hfs-pit.lua b/scripts/hfs-pit.lua index 9592d0a31..7261b53d7 100644 --- a/scripts/hfs-pit.lua +++ b/scripts/hfs-pit.lua @@ -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