Commit Graph

4 Commits

Author SHA1 Message Date
DS
ad75dba87b Optimize core.after in a simple way () 2019-03-27 21:05:50 +01:00
ANAND
d50feb89de core.after: Improve assertion message () 2019-03-17 10:25:47 +01:00
Auke Kok
75fb3e4730 minetest.after(): simplify further, pause in singleplayer ()
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.
2017-04-02 10:51:16 +02:00
Loïc Blot
2c19d51409 [CSM] sound_play & sound_stop support + client_lua_api doc ()
* squashed: CSM: Implement register_globalstep
  * Re-use fatal error mechanism from server to disconnect client on CSM error
  * Little client functions cleanups

* squashed: CSM: add core.after function
  * core.after is shared code between client & server
  * ModApiUtil get_us_time feature enabled for client
2017-03-13 23:56:05 +01:00