diff options
author | Wuzzy <almikes@aol.com> | 2014-07-17 18:06:49 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2014-07-17 18:06:49 +0200 |
commit | 5bc2ba600ca8e6c5c49b7a027e715ecfc344c8a9 (patch) | |
tree | b6fbc9046f522062fc03dbf370d8cdd67b43cbc4 /init.lua | |
parent | a94226425696d273dbfd0b60564146f1d6a73c84 (diff) |
Slight performance improvements
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ function playereffects.apply_effect_type(effect_type_id, duration, player) playereffects.effects[effect_id] = effect - minetest.log("action", "[playereffects] Effect type "..effect_type_id.." applied to player "..playername.." (effect_id = "..effect_id..").") +-- minetest.log("action", "[playereffects] Effect type "..effect_type_id.." applied to player "..playername.." (effect_id = "..effect_id..").") minetest.after(duration, function(effect_id) playereffects.cancel_effect(effect_id) end, effect_id) return effect_id |