Decrease minetest.after globalstep lag
authorHybridDog <adresse_test@t-online.de>
Wed, 3 Jun 2015 13:58:38 +0000 (15:58 +0200)
committerest31 <MTest31@outlook.com>
Sat, 6 Jun 2015 19:00:38 +0000 (21:00 +0200)
commit8383a61eac5b4702040000c7ae62895254dda40e
tree3a894ba49c8c53190bee0754cda35016d0ae2122
parent74d8b341bc7df3a24710c3b14d39530026516686
Decrease minetest.after globalstep lag

* abort if theres no active timer
* only reduce the timer.time of all timers when its necessary
* move updating timers_to_add into a seperate function
builtin/game/misc.lua