minetest.after(): simplify further, pause in singleplayer (#5500)
authorAuke Kok <sofar+github@foo-projects.org>
Sun, 2 Apr 2017 08:51:16 +0000 (08:51 +0000)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 2 Apr 2017 08:51:16 +0000 (10:51 +0200)
commit75fb3e47308823cf39d4aae0fd739ca445e8e36c
treea897010733e9dcf9f287c4e7a7e7ecca700dfab2
parent26f4a5c2d1e3d825816188fcd63f6d1f6758ae60
minetest.after(): simplify further, pause in singleplayer (#5500)

Using the `dtime` value entirely, this will stop the clock
if the game is paused in singleplayer. Since most of the
clocks were fixed a long time ago, this should again be
safe to use.
builtin/common/after.lua