Skip to content

Commit

Permalink
Merge pull request #1218 from myk002/myk_deep_embark
Browse files Browse the repository at this point in the history
[deep-embark] use canonicalized structures
  • Loading branch information
myk002 authored Jun 30, 2024
2 parents f0295f3 + 2ee4079 commit bea808e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deep-embark.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function reveal(pos)
barrier.pos:assign(pos)
barriers:insert('#',barrier)
local hfs = df.glowing_barrier:new()
hfs.triggered = true -- this prevents HFS events (which can otherwise be triggered by the barrier disappearing)
hfs.triggered = 1 -- this prevents HFS events (which can otherwise be triggered by the barrier disappearing)
barriers:insert('#',hfs)
dfhack.timeout(1,'ticks', function() -- barrier tiletype disappears after 1 tick
block.tiletype[x%16][y%16] = tiletype -- restore old tiletype
Expand Down

0 comments on commit bea808e

Please sign in to comment.