Skip to content
Snippets Groups Projects
Commit 7ea8d06f authored by Eric Wykoff's avatar Eric Wykoff
Browse files

Items on teleport traps will now be picked up before teleportation occurs

parent 17b360dd
No related branches found
No related tags found
1 merge request!101Teleport trap fix
......@@ -32,7 +32,7 @@ newEntity{ base = "TRAP_TELEPORT",
message = "@Target@ is teleported away.",
pressure_trap = true,
triggered = function(self, x, y, who)
who:teleportRandom(x, y, 100)
game:onTickEnd(function()who:teleportRandom(x, y, 100)end)
return true
end
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment