Fix crash

master
Wuzzy 2020-09-08 20:23:51 +02:00
parent beffd32cbf
commit 65a03efe6f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ function teleports.teleportate(parameters)
end
function teleports.do_teleporting(pos1, pos2, playername, delay)
if not delay then
teleports.teleportate(pos1, pos2, playername)
teleports.teleportate({pos1, pos2, playername})
else
teleports.animate(pos1, playername)
minetest.after(delay, teleports.teleportate, {pos1, pos2, playername})