2021-01-18 00:46:05 +01:00

7 lines
175 B
Lua

local lastMove = now
onPlayerPositionChange(function(newPos, oldPos)
if now - lastMove > 13*60*1000 then
turn(math.random(0,3))
lastMove = now
end
end)