diff --git a/game/modules/tome/data/general/traps/teleport.lua b/game/modules/tome/data/general/traps/teleport.lua index 9384484ef61179a17648c32be56ed729f3b83ef6..ea0dea487eb3052f9b7e306e01eea7e5e7143d32 100644 --- a/game/modules/tome/data/general/traps/teleport.lua +++ b/game/modules/tome/data/general/traps/teleport.lua @@ -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 }